Unpack intel microcode before initramfs images are being built
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 2 Mar 2019 14:55:04 +0000 (14:55 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 2 Mar 2019 14:55:04 +0000 (14:55 +0000)
Previously, the microcode updates were not packaged in the shipped
initramfs images which causes that Intel processors are still running
on outdated microcode.

This patch moves intel-microcode before we build the initramfs images.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 99b5a32..1b5cac4 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1100,6 +1100,7 @@ buildipfire() {
   lfsmake2 xr819-firmware
   lfsmake2 zd1211-firmware
   lfsmake2 rpi-firmware
+  lfsmake2 intel-microcode
   lfsmake2 bc
   lfsmake2 u-boot MKIMAGE=1
   lfsmake2 cpio
@@ -1172,7 +1173,6 @@ buildipfire() {
                lfsmake2 linux-initrd                   KCFG="-multi"
                ;;
   esac
-  lfsmake2 intel-microcode
   lfsmake2 xtables-addons                      USPACE="1"
   lfsmake2 libgpg-error
   lfsmake2 libgcrypt