From b4fa906f8d0293b4e92c4f6e9aea83786d5a240a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 14 Mar 2024 09:34:17 +0000 Subject: [PATCH] core185: Ship intel-microcode Signed-off-by: Michael Tremer --- .../core/185/filelists/x86_64/intel-microcode | 1 + config/rootfiles/core/185/update.sh | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 120000 config/rootfiles/core/185/filelists/x86_64/intel-microcode 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 index 0000000000..d5ac074e2e --- /dev/null +++ b/config/rootfiles/core/185/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/185/update.sh b/config/rootfiles/core/185/update.sh index 33a05be39e..3dce4693c4 100644 --- a/config/rootfiles/core/185/update.sh +++ b/config/rootfiles/core/185/update.sh @@ -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 -- 2.39.2