From: Peter Müller Date: Sun, 5 Mar 2023 14:56:54 +0000 (+0000) Subject: Core Update 174: Ship intel-microcode and rebuild initrds X-Git-Tag: v2.27-core174~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c14d53e979a6a3aa3d4155b8bbe0a59199bb02aa;p=ipfire-2.x.git Core Update 174: Ship intel-microcode and rebuild initrds Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/174/filelists/x86_64/intel-microcode b/config/rootfiles/core/174/filelists/x86_64/intel-microcode new file mode 120000 index 0000000000..d5ac074e2e --- /dev/null +++ b/config/rootfiles/core/174/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/174/update.sh b/config/rootfiles/core/174/update.sh index 49280a89ad..80917a7f5d 100644 --- a/config/rootfiles/core/174/update.sh +++ b/config/rootfiles/core/174/update.sh @@ -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