Bug 12211 - It should be possible to disable kernel module package splitting
Summary: It should be possible to disable kernel module package splitting
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: unspecified
Hardware: All Multiple
: Low enhancement
Target Milestone: Future
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-10 09:33 UTC by Ola Nilsson
Modified: 2017-10-17 16:30 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ola Nilsson 2017-10-10 09:33:53 UTC
It should be possible for a recipe author to inhibit kernel module package splitting.  Sometimes there is no point, and it just complicates the situation. 
It could also be made a DISTRO_FEATURE. 

The rootfs generation is a slow step in the build process, and reducing the number of RPMs involved matters.
Comment 1 Saul Wold 2017-10-12 15:23:36 UTC
Whilst this kind of change may improve rootfs generation time, the common path for most people will still be doing module splitting to limit the number of packages actually installed.  By making this kind of change, if it is even possible will increase the testing requirement for a non-common use case.
Comment 2 Bruce Ashfield 2017-10-12 16:17:20 UTC
We implemented this internally @ Wind River in the past, and it ended up not being put into production.

It did speed up packaging and rootfs generation, but it adds complexity to an already complex process and loses some features that are generally valuable (i.e. the ability to upgrade a single module, rootfs size increase, etc).

Any implementation of this still has to RPROVIDE all of the existing module package names, since there are many recipes that request individual modules that now need to pull in the unified kernel module package.
Comment 3 Bruce Ashfield 2017-10-17 16:30:45 UTC
After consultation, the complexity of the multiple kernel image builds, the module split logic, rdepends and the speedups with rpm4 and parallel installation removing the module splitting at this time (even optionally) is not something we are planning to do.

I've resolved this as 'won't fix', but if there's a strong feeling to park it as a future/enhancement, I can do that as well.