[meta-intel] [PATCH 1/2] images: add core-image-minimal-initramfs bbappend

California Sullivan california.l.sullivan at intel.com
Fri Aug 18 15:34:01 PDT 2017


Modify core-image-minimal-initramfs to use the initramfs-framework init
scripts instead of the old ones when using an Intel MACHINE type.

The initramfs-framework scripts are preferred, as they allow for booting
on both live and real images and are more modular, allowing additions
via new modules.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
Note: breaks grub-efi and syslinux live images until the patch
"initramfs-framework/setup-live: also boot live image if root=/dev/ram0"
is merged into OE-core.

 common/recipes-core/images/core-image-minimal-initramfs.bbappend | 3 +++
 1 file changed, 3 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..1611beb
--- /dev/null
+++ b/common/recipes-core/images/core-image-minimal-initramfs.bbappend
@@ -0,0 +1,3 @@
+# Use initramfs-framework instead of initramfs-live*
+PACKAGE_INSTALL_remove_intel-x86-common = "initramfs-live-boot initramfs-live-install initramfs-live-install-efi"
+PACKAGE_INSTALL_append_intel-x86-common = " initramfs-framework-base initramfs-module-udev initramfs-module-setup-live initramfs-module-install-efi"
-- 
2.9.5



More information about the meta-intel mailing list