mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
core153: Ship Intel mircocode and ask for reboot
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/153/filelists/i586/intel-microcode
Symbolic link
1
config/rootfiles/core/153/filelists/i586/intel-microcode
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/intel-microcode
|
||||
1
config/rootfiles/core/153/filelists/x86_64/intel-microcode
Symbolic link
1
config/rootfiles/core/153/filelists/x86_64/intel-microcode
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/x86_64/intel-microcode
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user