[meta-intel] [Patch v4 5/6] core-image-minimal-initramfs: extend to support early microcode loading

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Fri Jul 18 17:18:26 PDT 2014


From: Nitin A Kamble <nitin.a.kamble at intel.com>

If the microcode support is enabled in the license flags, then consume the
microcode.cpio to generate an initrd which is extended with the earlyload
microcode support.

This recipe now can optionally generate this additional initrd image:
  core-image-minimal-initramfs-${MACHINE}.cpio.gz.ucode

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 common/recipes-core/images/core-image-minimal-initramfs.bbappend | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 common/recipes-core/images/core-image-minimal-initramfs.bbappend

diff --git a/common/recipes-core/images/core-image-minimal-initramfs.bbappend b/common/recipes-core/images/core-image-minimal-initramfs.bbappend
new file mode 100644
index 0000000..1592630
--- /dev/null
+++ b/common/recipes-core/images/core-image-minimal-initramfs.bbappend
@@ -0,0 +1,4 @@
+inherit image-ucode
+
+# if the microcode support is enabled, then build the microcode enabled initrd
+IMAGE_FSTYPES .= "${@['', '.ucode']['license_intel-microcode' in d.getVar('LICENSE_FLAGS_WHITELIST', True)]}"
-- 
1.8.1.4



More information about the meta-intel mailing list