Bug 4227

Summary: Fix naive complementary package installation handling of TARGET_OS
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Low CC: meta.mr.watcher, meta.watcher, sgw
Version: 1.4   
Target Milestone: 1.6 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2013-04-08 16:56:09 UTC
The oe-pkgdata-util script as called from image.bbclass currently accepts a single "vendor-os" triplet for the glob command to calculate complementary package lists; however this is not really sufficient - e.g. it does not handle where TARGET_OS is not extended for some packages (e.g. the normal TARGET_OS is armv5te-poky-linux-gnueabi but some packages have armv5te-poky-linux, for example update-rc.d).

Richard suggested using PKGMLTRIPLETS, however this currently does not include triplets without the extension which is probably a bug.
Comment 1 Paul Eggleton 2013-10-18 11:13:40 UTC
The following commit (included in 1.5 / dora) which restructured pkgdata means this issue is no longer present:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8ebe7be3d9494c3467b5533091bf6832030aad99

Marking as fixed accordingly.