From: Nitin A Kamble <[email protected]>

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 <[email protected]>
---
 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

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to