From f467275a511d8d2e602fe3909d300183ebd63154 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 14 May 2025 09:31:26 +0000 Subject: [PATCH] core196: Update initramdisks for updated microcode Signed-off-by: Michael Tremer --- config/rootfiles/core/196/update.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/rootfiles/core/196/update.sh b/config/rootfiles/core/196/update.sh index ca2c886fe..0138fabcf 100644 --- a/config/rootfiles/core/196/update.sh +++ b/config/rootfiles/core/196/update.sh @@ -52,6 +52,16 @@ ldconfig # Filesytem cleanup /usr/local/bin/filesystem-cleanup +# Build initial ramdisks for updated 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 + # Apply SSH configuration #/usr/local/bin/sshctrl -- 2.39.5