Bug 8600

Summary: extensible SDK: add a means of easily adding pkgdata for a wide set of packages
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Alexandru Georgescu <alexandru.c.georgescu>
Status: RESOLVED FIXED QA Contact: Aníbal Limón <anibal.limon>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu, Martin.Jansa, meta.mr.watcher, meta.watcher
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Paul Eggleton 2015-10-28 11:22:42 UTC
For "devtool search", and where you want the pcdeps/shlibdeps information for more than just the packages shipped out of the box in the image, it would be useful if you could include the pkgdata (i.e. what gets populated by do_packagedata) for a wider list of recipes, i.e. world or some subset of that specified by the distro. Naturally this means these recipes need to be built first, but it also means we need to have the means of bringing those into the extensible SDK as well.
Comment 1 Paul Eggleton 2015-12-22 21:29:38 UTC
Working on this, WIP branch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=paule/world-pkgdata

The current status is that unfortunately it pulls in not just the sstate packages for do_packagedata, but do_populate_sysroot, do_package_write_rpm etc. which unreasonably increases the size of the SDK. I need to figure out where the dependency is that causes those to enter the SDK as well.
Comment 2 Martin Jansa 2016-01-22 12:48:42 UTC
Does this implement at least part of:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3505
as well?
Comment 3 Paul Eggleton 2016-01-23 04:17:22 UTC
The logic may help to implement that yes, though you'd be using it in a different way.
Comment 5 Paul Eggleton 2016-01-24 20:04:40 UTC
Note that this bitbake patch is also required:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=76a281c870621f5b5608d098a70504c6069ccd11