From: Michael Tremer Date: Thu, 18 Sep 2025 15:56:58 +0000 (+0000) Subject: core199: Ship dracut-ng and regenerate initramdisks X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a83e4d83f204603086e0889e61f7dfae85245d5;p=ipfire-2.x.git core199: Ship dracut-ng and regenerate initramdisks Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/199/filelists/dracut-ng b/config/rootfiles/core/199/filelists/dracut-ng new file mode 120000 index 000000000..7be011e1f --- /dev/null +++ b/config/rootfiles/core/199/filelists/dracut-ng @@ -0,0 +1 @@ +../../../common/dracut-ng \ No newline at end of file diff --git a/config/rootfiles/core/199/update.sh b/config/rootfiles/core/199/update.sh index 5f1ecaca1..d7e90ec11 100644 --- a/config/rootfiles/core/199/update.sh +++ b/config/rootfiles/core/199/update.sh @@ -52,6 +52,16 @@ ldconfig # Start services +# Build initial ramdisks (for dracut-ng update) +dracut --regenerate-all --force +KVER="xxxKVERxxx" +case "$(uname -m)" in + aarch64) + mkimage -A arm64 -T ramdisk -C lzma -d /boot/initramfs-${KVER}.img /boot/uInit-${KVER} + # dont remove initramfs because grub need this to boot. + ;; +esac + # This update needs a reboot... #touch /var/run/need_reboot