From: Michael Tremer Date: Wed, 14 Aug 2024 16:57:13 +0000 (+0000) Subject: core188: Ship intel-microcode X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b14dab303387f47ef91719b20656a3eedd1ac13c;p=people%2Fmfischer%2Fipfire-2.x.git core188: Ship intel-microcode Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/188/filelists/x86_64/intel-microcode b/config/rootfiles/core/188/filelists/x86_64/intel-microcode new file mode 120000 index 000000000..d5ac074e2 --- /dev/null +++ b/config/rootfiles/core/188/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/188/update.sh b/config/rootfiles/core/188/update.sh index ff92380d0..704450f89 100644 --- a/config/rootfiles/core/188/update.sh +++ b/config/rootfiles/core/188/update.sh @@ -68,8 +68,18 @@ ldconfig # Start services /etc/init.d/apache restart +# Build initial ramdisks (for intel-microcode) +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