[yocto] should layers define BB_DANGLINGAPPENDS_WARNONLY ?= "1"?

Gary Thomas gary at mlbassoc.com
Mon Nov 2 10:03:37 PST 2015


On 2015-11-02 10:54, Robert P. J. Day wrote:
>
>    perusing the meta-musl layer, and noticed in layer.conf the line:
>
> BB_DANGLINGAPPENDS_WARNONLY ?= "1"
>
> i thought this was a bit odd since (at least to me) it seems like the
> sort of thing a *developer* might set in their local.conf to
> temporarily deal with a dangling .bbappend file -- it never occurred
> to me that it would be appropriate for a layer to define that value
> itself as an inherent part of its own ... layerness.
>
>    a quick grep of the couple dozen layers i have checked out revealed
> two layers that do that:
>
> ./meta-musl/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY ?= "1"
> ./meta-yocto-kernel-extras/meta-kernel-dev/conf/layer.conf:BB_DANGLINGAPPENDS_WARNONLY
> ?= "true"
>
>    i'm curious what others think of this approach.

Sounds dangerous, bordering on incorrect (or irresponsible) to me.
This could easily mask a problem and is not layer specific, i.e.
the warning would then apply to all layers, not just meta-musl.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list