[OE-core] [RFC PATCH 1/1] classes/whitelist: add class to allow whitelisting recipes from a layer

Richard Purdie richard.purdie at linuxfoundation.org
Fri Aug 21 22:41:52 UTC 2015


On Fri, 2015-08-21 at 18:43 -0300, Otavio Salvador wrote:
> On Fri, Aug 21, 2015 at 2:45 PM, Khem Raj <raj.khem at gmail.com> wrote:
> > All points here are valid. We already see this with distro's which use
> > layers verbatim e.g. angstrom
> > I wish everyone derived their distros that way since that respects the
> > layer boundaries, a good chunk of work
> > there is still we send patches to layers to keep them up to date with
> > changes in other layers and there still are patches
> > pending since every layer maintainer doesnt respond in sam time frame,
> > but this sort of facilities if added is just going to worsen that
> > workload.
> > I think amalgmation of layers start with use of combo-tool itself.
> > This patch just takes it a step further. If we want to preserve
> > the layer model's health we have to work towards respecting layer
> > boundaries and I would even go a step further and suggest to
> > discourage use of combo-tool or any sort of layer squashing.
> 
> I fully agree; in fact Poky itself is a bad example that I often have
> to explain for vendors. People justify putting several layers together
> in same repository saying that Poky does that and this is a
> contradiction which we need to justify as Yocto Project promotes the
> use of layers as one of most preeminent features but Poky does the
> opposite ...

Another way of looking at the issues people are having is that
meta-openembedded is simply too large and it really needs to get split
up into separate repos so people can get more granularity.

That is both technically hard in some ways and controversial and nobody
wants to step up and try and form a consensus about doing it though. I
would note the internal splits are a good start though and there is some
separation of maintainership happened there already.

On the subject of poky, right from the start poky was a subset of
OpenEmbedded, for good reason if we remember OE from those days. That
reason was originally that OpenedHand didn't want to support all of OE
for a customer, only some subset. The OSVs using the Yocto Project still
have this issue today. The big difference between combo-layer and the
whitelist is that in one case you don't ship the recipe. This makes it
really clear to the customer what is and what is not supported. This has
pros and cons, obviously.

I will state for the record that poky only has complete layers in it
though, it doesn't pick components of meta-oe, I've actively avoided it.
Putting layers together in one accessible form is a different topic in
some ways to filtering one layer into a sublayer.

Patrick commented that whitelist and combo-layer both have the same
drawback to metadata quality and that is probably true, I wasn't trying
to suggest otherwise, merely highlight the other options available and
their relative merits (which I didn't do a good job of).

Cheers,

Richard




More information about the Openembedded-core mailing list