Bug 5991 - Allow more flexible versioned layer dependencies
Summary: Allow more flexible versioned layer dependencies
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.6
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.8 M3
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-17 16:56 UTC by Paul Eggleton
Modified: 2015-02-16 16:02 UTC (History)
4 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 Paul Eggleton 2014-03-17 16:56:08 UTC
A long time ago we added the capability to have versioned layer dependencies using LAYERVERSION and LAYERDEPENDS. However, LAYERVERSION is now being used by the autobuilder, leading to the version being increased more regularly; a versioned item in LAYERDEPENDS matches only that specific version and BitBake will error out if the provided version is different. Users using mis-matched layer branches has been a long-standing problem, and the latest example is meta-intel master requiring the recent tune file changes in OE-Core master. With LAYERVERSION being used as it is, we have no reliable mechanism to resolve this as things stand.

One possible solution would be to add a LAYERPROVIDES; then we could add additional items whose versions (if specified) could be independent of the LAYERVERSION.
Comment 1 Paul Eggleton 2015-01-29 14:10:38 UTC
I've sent out an RFC patch to the bitbake and OE-Core lists:

http://lists.openembedded.org/pipermail/bitbake-devel/2015-January/005370.html
Comment 2 Paul Eggleton 2015-02-16 16:02:07 UTC
Fix merged to master:

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

Now we just need to start using it...