Skip to content

Commit

Permalink
provision-derived: Regenerate initramfs
Browse files Browse the repository at this point in the history
In case we have e.g. ostree updates added.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Feb 1, 2025
1 parent d3f6d55 commit d32c973
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/provision-derived.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d32c973

Please sign in to comment.