From: Michael Tremer Date: Fri, 16 Jun 2023 09:22:17 +0000 (+0000) Subject: core176: Ship intel-microcode and regenerate all initramdisks X-Git-Tag: v2.27-core176~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a71450b6fabb942bf9f22ad47899a444ef26f857;p=ipfire-2.x.git core176: Ship intel-microcode and regenerate all initramdisks Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/176/filelists/x86_64/intel-microcode b/config/rootfiles/core/176/filelists/x86_64/intel-microcode new file mode 120000 index 0000000000..d5ac074e2e --- /dev/null +++ b/config/rootfiles/core/176/filelists/x86_64/intel-microcode @@ -0,0 +1 @@ +../../../../common/x86_64/intel-microcode \ No newline at end of file diff --git a/config/rootfiles/core/176/update.sh b/config/rootfiles/core/176/update.sh index 250be35dfe..3b64202f67 100644 --- a/config/rootfiles/core/176/update.sh +++ b/config/rootfiles/core/176/update.sh @@ -51,6 +51,16 @@ ldconfig # Start services +# Rebuild initial ramdisk to apply microcode updates +dracut --regenerate-all --force +KVER="xxxKVERxxx" +case "$(uname -m)" in + aarch64) + mkimage -A arm64 -T ramdisk -C lzma -d /boot/initramfs-${KVER}-ipfire.img /boot/uInit-${KVER}-ipfire + # dont remove initramfs because grub need this to boot. + ;; +esac + # This update needs a reboot... touch /var/run/need_reboot