[bitbake-devel] [PATCH] action: bitbake-layers new plugin to create a layer
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Jul 20 15:58:43 UTC 2017
(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
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
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the bitbake-devel
mailing list