[bitbake-devel] [PATCH] action: bitbake-layers new plugin to create a layer

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Mon Jul 24 15:12:48 UTC 2017


On Thu, 2017-07-20 at 17:58 +0200, Paul Eggleton wrote:
> (Brian reminded me of this, sorry for not replying earlier)
> 
> On Monday, 19 June 2017 5:00:18 PM CEST 
> leonardo.sandoval.gonzalez at linux.intel.com wrote:
> > From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
> > 
> > Creates a simple layer with a example recipe, where the latter
> > has just a single task (do_build). Layer's license is MIT and
> > layer's priority defaults to 6. Recipe name and layer's priority
> > can changed specified through the command line.
> 
> So I'm generally in favour of adding this functionality to bitbake-layers and 
> making it more widely available in preference to yocto-layer. However, I'm a 
> bit concerned about the template recipe - it really doesn't belong in bitbake. 
> We could resolve that in one of two ways:
> 
> 1) Look for the template within the metadata and provide one in OE-Core, or
> 
> 2) Put the template *and* the plugin in OE-Core, since bitbake-layers should 
> support loading plugins from the metadata
> 

When I started this, I did not think about using OE-Core so this can be
more generic, meaning that there is no need for OE-Core metadata to have
this feature working. 

Now with your inputs, I can see point 2 as an option so let I can work
in that direction if all agree.

Leo


> I don't mind which but I'd lean towards #2 since it will probably require less 
> additional plumbing.
> 
> Additionally we'll probably want to change "yocto-layer create" to call this 
> and show a deprecation warning for the next release or two, and then drop it 
> afterwards.
> 
> Cheers,
> Paul
> 





More information about the bitbake-devel mailing list