From d32c97366b1868064d6a9b966acf440cfd35ee31 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 1 Feb 2025 10:34:21 -0500 Subject: [PATCH] provision-derived: Regenerate initramfs In case we have e.g. ostree updates added. Signed-off-by: Colin Walters --- hack/provision-derived.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/provision-derived.sh b/hack/provision-derived.sh index 8d5d544a3..0cf4855ad 100755 --- a/hack/provision-derived.sh +++ b/hack/provision-derived.sh @@ -8,6 +8,7 @@ if echo $ID_LIKE $ID | grep -q centos; then dnf config-manager --set-enabled crb dnf -y install epel-release epel-next-release fi +set -x; kver=$(cd /usr/lib/modules && echo *); dracut -vf /usr/lib/modules/$kver/initramfs.img $kver # Ensure this is pre-created mkdir -p -m 0700 /var/roothome mkdir -p ~/.config/nushell