From 2a83e4d83f204603086e0889e61f7dfae85245d5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 18 Sep 2025 15:56:58 +0000 Subject: [PATCH] core199: Ship dracut-ng and regenerate initramdisks Signed-off-by: Michael Tremer --- config/rootfiles/core/199/filelists/dracut-ng | 1 + config/rootfiles/core/199/update.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 120000 config/rootfiles/core/199/filelists/dracut-ng 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 -- 2.47.3