core187: Regenerate initramdisks for intel-microcode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-02 09:04:14 +00:00
parent ca1f2d81f4
commit 981bdaead8

View File

@@ -52,6 +52,16 @@ ldconfig
# Start services
/etc/init.d/unbound 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