Bug 11167 - rpm 4 has a different set of subpackages then rpm 5
Summary: rpm 4 has a different set of subpackages then rpm 5
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Alexander Kanavin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-15 21:42 UTC by Mark Hatle
Modified: 2017-04-02 03:49 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hatle 2017-03-15 21:42:59 UTC
We've got packagegroups and image recipes that are asking for 'rpm-build' sub package.  However the new rpm 4 does not break things out into as many sub packages as RPM 5 did.

My suggestion is either we need to add provides or we need to create the additional sub packages.
Comment 1 Mark Hatle 2017-03-15 21:43:46 UTC
BTW I'm in the process of determining how much space is saved by breaking the build components out into a sub package, for systems where they are not needed.
Comment 2 Ross Burton 2017-03-23 13:36:47 UTC
Merged in oe-core 3b5ac72bdf76ac8ff98dc3c882a4edc77c6e2c33.
Comment 3 Neal Gompa 2017-04-02 03:49:44 UTC
I'm surprised you don't break things out as much. Both Fedora and Mageia have significant breakout of aspects of RPM into subpackages[1][2].

Depending on what kind of space or functional optimizations you're looking for, you may want to consider the Mageia approach or the Fedora one. I don't know much about how bitbake handles generating these separate things, but at least you can see the two strategies here.

[1]: https://src.fedoraproject.org/cgit/rpms/rpm.git/tree/rpm.spec
[2]: http://svnweb.mageia.org/packages/cauldron/rpm/current/SPECS/rpm.spec?view=markup