From: Michael Tremer Date: Wed, 11 Nov 2020 11:52:13 +0000 (+0000) Subject: core153: Ship Intel mircocode and ask for reboot X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cebcd805a5eb9d4ce930a6a9878c40bdc9b76d9;p=people%2Fms%2Fipfire-2.x.git core153: Ship Intel mircocode and ask for reboot Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/153/filelists/i586/intel-microcode b/config/rootfiles/core/153/filelists/i586/intel-microcode new file mode 120000 index 0000000000..f03e84778a --- /dev/null +++ b/config/rootfiles/core/153/filelists/i586/intel-microcode @@ -0,0 +1 @@ +../../../../common/i586/intel-microcode \ No newline at end of file diff --git a/config/rootfiles/core/153/filelists/x86_64/intel-microcode b/config/rootfiles/core/153/filelists/x86_64/intel-microcode new file mode 120000 index 0000000000..d5ac074e2e --- /dev/null +++ b/config/rootfiles/core/153/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/153/update.sh b/config/rootfiles/core/153/update.sh index a6ddc00192..8e528b2598 100644 --- a/config/rootfiles/core/153/update.sh +++ b/config/rootfiles/core/153/update.sh @@ -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