On Mon, 2017-09-25 at 16:41 +0800, Chen Qi wrote:
> Add a new class, sanity-bbappend.bbclass, to check for whether
> necessary
> settings are available for bbappend files in this layer to be
> effective,
> and warn users if not.
> 
> In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable
> users
> to explicitly skip the checking to avoid unwanted warnings.
> 
> Signed-off-by: Chen Qi <[email protected]>
> ---
>  classes/sanity-bbappend.bbclass | 10 ++++++++++

That is a horrible name for a bbclass, could easily clash with another
layer.

>  conf/layer.conf                 |  4 ++++
>  2 files changed, 14 insertions(+)
>  create mode 100644 classes/sanity-bbappend.bbclass

Looking at this patch series, I suspect this is partly related to YP
Compatibility v2.

I do think that its highlighting an issue here in that we have several
very similar bbappends where the functionality would likely be better
in a common file and secondly, better in the core recipes.

This layer would then just need to configure it rather than adding the
config fragements and so on as well.

So yes, I think there is a valid issue here and in many senses, YP
Compat v2 is probably highlighting a real problem but I suspect this
patch series is not the way to fix it...

Is there a good reason we wouldn't want "virt" markup in the main
recipes and it being a configuration option?

Cheers,

Richard


-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to