core153: Ship Intel mircocode and ask for reboot

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-11-11 11:52:13 +00:00
parent 1c217406f2
commit 5cebcd805a
3 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1 @@
../../../../common/i586/intel-microcode

View File

@@ -0,0 +1 @@
../../../../common/x86_64/intel-microcode

View File

@@ -57,7 +57,7 @@ chown -vR root:root /etc/ntp
sysctl -p
# This update needs a reboot...
#touch /var/run/need_reboot
touch /var/run/need_reboot
# Finish
/etc/init.d/fireinfo start
@@ -70,5 +70,11 @@ fi
sync
# Reload microcode
modprobe microcode
if [ -w "/sys/devices/system/cpu/microcode/reload" ]; then
echo 1 > /sys/devices/system/cpu/microcode/reload
fi
# Don't report the exitcode last command
exit 0