Bug 406 - SRCREV should work properly from .bb files
Summary: SRCREV should work properly from .bb files
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-07 13:58 UTC by Richard Purdie
Modified: 2011-06-07 07:28 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2010-10-07 13:58:04 UTC
Currently SRCREV is not safe for use in .bb files and needs to be specified in the global .conf files other wise when bitbake decides which versions to build, the information can be inconsistent. This should be fixed to allow users to set a default revision in the .bb recipe where the information should belong (still allowing the core configuration to override).

As for the technical implementation, when a .bb file is processed by cache.py and the apprpriate data stored, SRCREV should be saved, then when taskdata evaluated providers, this data should be injected into the core dictionary.
Comment 1 Richard Purdie 2011-06-07 07:28:24 UTC
SRCREV is now being correctly handled from .bb files.