core176: Ship intel-microcode and regenerate all initramdisks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2023-06-16 09:22:17 +00:00
parent 6f22b0ac4d
commit a71450b6fa
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../../common/x86_64/intel-microcode

View File

@@ -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