Bug 12024 - initramfs-framework: split out optional modules
Summary: initramfs-framework: split out optional modules
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.4
Assignee: California Sullivan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-09-01 06:41 UTC by Patrick Ohly
Modified: 2017-09-18 18:20 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.