Skip to content

Commit

Permalink
layer: Remome BB_DANGLINGAPPENDS_WARNONLY from the layer definition
Browse files Browse the repository at this point in the history
The support of this interface is dropped in bitbake:

    cooker: Drop support for BB_DANGLINGAPPENDS_WARNONLY
    DANGLINGAPPENDS_WARNONLY is a very poorly designed interface and
    is commonly abused. The challenge is that once it is set, by any
    layer, it applies everywhere.

    Some layers rely on this to get notification they need to update
    bbappend files and having the behaviour change from inclusion of an
    antisocial layer is not good.

    In addition, showing warnings as an accepted thing on the console
    devalues them and trains the user to ignore them. I want to steer us
    away from this mindset.

    We could extend the functionality and make it apply only to certain
    layers, or only to certain appends but then we've basically re-invented
    BBMASK.

    Given all the above, we should drop support for BB_DANGLINGAPPENDS_WARNONLY
    and direct anyone with issues to BBMASK instead.

    https://lists.openembedded.org/g/openembedded-architecture/message/2029

    [YOCTO #14870]

    Signed-off-by: Richard Purdie <[email protected]>

Related-To: https://git.openembedded.org/bitbake/commit/?id=fca9c9e3cb6f8e9f99bf51dc5e8a8d83f4c84c69
  • Loading branch information
psaavedra committed Dec 6, 2024
1 parent 4eef5d6 commit 3c7ce76
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@ LAYERDEPENDS_webkit = "\
openembedded-layer \
"

# do not error out on bbappends for missing recipes
BB_DANGLINGAPPENDS_WARNONLY = "true"

# Support from the current actively maintained LTS Yocto release
LAYERSERIES_COMPAT_webkit = "kirkstone langdale mickledore nanbield scarthgap styhead walnascar"

0 comments on commit 3c7ce76

Please sign in to comment.