From: Michael Tremer Date: Sun, 14 Jan 2018 15:43:57 +0000 (+0000) Subject: core118: Ship microcode updates for Intel processors X-Git-Tag: v2.19-core118~3^2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c015d425d177a18927f56cebd0d1b4d29a827d8b;p=ipfire-2.x.git core118: Ship microcode updates for Intel processors Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/118/filelists/files b/config/rootfiles/core/118/filelists/files index 4d1873530a..162f586d3a 100644 --- a/config/rootfiles/core/118/filelists/files +++ b/config/rootfiles/core/118/filelists/files @@ -9,6 +9,7 @@ srv/web/ipfire/cgi-bin/fireinfo.cgi srv/web/ipfire/cgi-bin/ids.cgi srv/web/ipfire/cgi-bin/logs.cgi/showrequestfromcountry.dat srv/web/ipfire/cgi-bin/logs.cgi/urlfilter.dat +usr/local/bin/rebuild-initrd usr/sbin/updxlrator var/ipfire/langs var/ipfire/updatexlrator/bin/download diff --git a/config/rootfiles/core/118/filelists/i586/intel-microcode b/config/rootfiles/core/118/filelists/i586/intel-microcode new file mode 120000 index 0000000000..f03e84778a --- /dev/null +++ b/config/rootfiles/core/118/filelists/i586/intel-microcode @@ -0,0 +1 @@ +../../../../common/i586/intel-microcode \ No newline at end of file diff --git a/config/rootfiles/core/118/filelists/x86_64/intel-microcode b/config/rootfiles/core/118/filelists/x86_64/intel-microcode new file mode 120000 index 0000000000..d5ac074e2e --- /dev/null +++ b/config/rootfiles/core/118/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/118/update.sh b/config/rootfiles/core/118/update.sh index 60173609f8..545c8ef536 100644 --- a/config/rootfiles/core/118/update.sh +++ b/config/rootfiles/core/118/update.sh @@ -59,7 +59,16 @@ ldconfig /etc/init.d/snort start # This update need a reboot... -#touch /var/run/need_reboot +touch /var/run/need_reboot + +# Rebuild the initrd to include the microcode updates +rebuild-initrd + +# Reload microcode +modprobe microcode +if [ -w "/sys/devices/system/cpu/microcode/reload" ]; + echo 1 > /sys/devices/system/cpu/microcode/reload +fi # Finish /etc/init.d/fireinfo start