Core Update 174: Ship intel-microcode and rebuild initrds

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2023-03-05 14:56:54 +00:00
parent 504756d4f5
commit c14d53e979
2 changed files with 10 additions and 0 deletions

View File

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

View File

@@ -56,6 +56,15 @@ if [ -f /var/ipfire/proxy/enable ]; then
/etc/init.d/squid start
fi
# Rebuild initial ramdisk to apply microcode updates
dracut --regenerate-all --force
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