Bug 12024

Summary: initramfs-framework: split out optional modules
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Patrick Ohly <patrick.ohly>
Component: coreAssignee: California Sullivan <california.l.sullivan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: california.l.sullivan, meta.mr.watcher, meta.watcher, otavio
Version: unspecified   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Patrick Ohly 2017-09-01 06:41:14 UTC
initramfs-module-install-efi and initramfs-module-setup-live where added directly to initramfs-framework.bb. The undesirable result is that everyone using initramfs-framework is forced to build several tools (parted, udev-extraconf, e2fsprogs-mke2fs dosfstools util-linux-blkid) even if the new modules are not used. For example, refkit is affected.

In addition, the dependency of initramfs-framework on native tools makes it harder to declare the recipe as allarch - see http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141551.html for the workaround.

Please split out these modules into independent recipes. Then they and their dependencies can be built only when needed and initramfs-framework can become allarch much easier.
Comment 1 Patrick Ohly 2017-09-01 06:43:37 UTC
Assigning to wei.tee.ng@intel.com because he was the original author.

This problem was originally reported on the mailing list (http://lists.openembedded.org/pipermail/openembedded-core/2017-July/140359.html) but didn't get a response there, hence this bug report.
Comment 2 California Sullivan 2017-09-01 21:19:37 UTC
I'll take this. Should have a patch by EOD.