mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 168: Ship intel-microcodes and rebuild initrds
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/168/filelists/x86_64/intel-microcode
Symbolic link
1
config/rootfiles/core/168/filelists/x86_64/intel-microcode
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/x86_64/intel-microcode
|
||||
@@ -104,6 +104,20 @@ rm -vf \
|
||||
chmod -v 750 /etc/sudoers.d
|
||||
chmod -v 640 /etc/sudoers.d/*
|
||||
|
||||
# Rebuild initial ramdisk to apply microcode updates
|
||||
dracut --regenerate-all --force
|
||||
case "$(uname -m)" in
|
||||
armv*)
|
||||
mkimage -A arm -T ramdisk -C lzma -d /boot/initramfs-${KVER}-ipfire.img /boot/uInit-${KVER}-ipfire
|
||||
rm /boot/initramfs-${KVER}-ipfire.img
|
||||
;;
|
||||
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
|
||||
|
||||
|
||||
# Start services
|
||||
/etc/init.d/fcron restart
|
||||
/etc/init.d/sshd restart
|
||||
|
||||
Reference in New Issue
Block a user