From 5cebcd805a5eb9d4ce930a6a9878c40bdc9b76d9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 11 Nov 2020 11:52:13 +0000 Subject: [PATCH] core153: Ship Intel mircocode and ask for reboot Signed-off-by: Michael Tremer --- config/rootfiles/core/153/filelists/i586/intel-microcode | 1 + .../rootfiles/core/153/filelists/x86_64/intel-microcode | 1 + config/rootfiles/core/153/update.sh | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 120000 config/rootfiles/core/153/filelists/i586/intel-microcode create mode 120000 config/rootfiles/core/153/filelists/x86_64/intel-microcode 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 -- 2.39.2