Bug 4227 - Fix naive complementary package installation handling of TARGET_OS
Summary: Fix naive complementary package installation handling of TARGET_OS
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: All Multiple
: Low minor
Target Milestone: 1.6 M2
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-08 16:56 UTC by Paul Eggleton
Modified: 2013-10-18 11:13 UTC (History)
3 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 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.