]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
core185: Ship intel-microcode
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Mar 2024 09:34:17 +0000 (09:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Mar 2024 09:36:20 +0000 (09:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/185/filelists/x86_64/intel-microcode [new symlink]
config/rootfiles/core/185/update.sh

diff --git a/config/rootfiles/core/185/filelists/x86_64/intel-microcode b/config/rootfiles/core/185/filelists/x86_64/intel-microcode
new file mode 120000 (symlink)
index 0000000..d5ac074
--- /dev/null
@@ -0,0 +1 @@
+../../../../common/x86_64/intel-microcode
\ No newline at end of file
index 33a05be39e6c97bb8eefb3907045a91ab44002d3..3dce4693c40d37992a45a182835389b8ffef7d89 100644 (file)
@@ -49,6 +49,7 @@ rm -rvf \
        /lib/firmware/ath11k/WCN6855/hw2.0/Notice.txt \
        /lib/firmware/intel-ucode/06-86-04 \
        /lib/firmware/intel-ucode/06-86-05 \
+       /lib/firmware/intel-ucode/06-8f-04 \
        /sbin/xtables-multi \
        /srv/web/ipfire/html/themes/ipfire-rounded \
        /usr/lib/crda/pubkeys/linville.key.pub.pem \
@@ -113,8 +114,18 @@ mv /var/ipfire/ovpn/ovpnconfig.new /var/ipfire/ovpn/ovpnconfig
 # Set correct ownership
 chown nobody:nobody /var/ipfire/ovpn/ovpnconfig
 
+# Rebuild initial ramdisks
+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
+touch /var/run/need_reboot
 
 # Finish
 /etc/init.d/fireinfo start