[yocto] SRCREV for BBLAYERS

Paul Eggleton paul.eggleton at linux.intel.com
Mon Feb 3 06:46:12 PST 2014


Hi Richard,

On Monday 03 February 2014 12:17:04 Richard Leitner - SKIDATA wrote:
> I've a question regarding the BBLAYERS variable.
> Is it possible to set some kind of a SRCREV (=> git tag/branch/commit-id)
> for a path listed in BBLAYERS?
> 
> I came to this question because I've two different branches in my meta
> layer: one for development and one for 'stable' releases. Therefore I have
> also two different build dirs and want to 'pin' the branches/tags to the
> build dir (preferable via the bblayers.conf). I think this should be
> possible because at the start of a build the revs are displayed like:
> meta-yocto = "[branch]:[commit-id]" The problem is that I wasn't able to
> find any answers or solutions on the web so I ask you now for help.

The build system doesn't actually manage checking out/updating layers for you, 
it only reports the revision if there is one, so this functionality isn't 
supported. Probably the easiest way to handle this would be to keep two 
separate checkouts.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list