From e9a3f9090101523572c193ac39cf3356c8879b52 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 13 Aug 2025 17:53:16 +0000 Subject: [PATCH] core198: Regenerate initramdisks (for early microcode) Signed-off-by: Michael Tremer --- config/rootfiles/core/198/update.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/rootfiles/core/198/update.sh b/config/rootfiles/core/198/update.sh index 7e71fcc3c..9d1df7518 100644 --- a/config/rootfiles/core/198/update.sh +++ b/config/rootfiles/core/198/update.sh @@ -59,6 +59,16 @@ ldconfig # Start services /etc/init.d/suricata restart +# Build initial ramdisks (for intel-microcode) +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