diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-19 10:30:14 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-21 12:16:28 +0000 |
| commit | 282cc1ea929f2dc43c095c0029c3b3974bb40566 (patch) | |
| tree | c7b7d718f09b3dafcfef5dd21b4f2ea726c339e1 /bitbake/doc | |
| parent | 1bca7e242531382eafccf91158db159e811802fd (diff) | |
| download | poky-282cc1ea929f2dc43c095c0029c3b3974bb40566.tar.gz | |
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]
(Bitbake rev: fca9c9e3cb6f8e9f99bf51dc5e8a8d83f4c84c69)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
| -rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index f23fb7f2a7..6c5bab4d4d 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | |||
| @@ -127,18 +127,6 @@ overview of their function and contents. | |||
| 127 | Contains the name of the currently running task. The name does not | 127 | Contains the name of the currently running task. The name does not |
| 128 | include the ``do_`` prefix. | 128 | include the ``do_`` prefix. |
| 129 | 129 | ||
| 130 | :term:`BB_DANGLINGAPPENDS_WARNONLY` | ||
| 131 | Defines how BitBake handles situations where an append file | ||
| 132 | (``.bbappend``) has no corresponding recipe file (``.bb``). This | ||
| 133 | condition often occurs when layers get out of sync (e.g. ``oe-core`` | ||
| 134 | bumps a recipe version and the old recipe no longer exists and the | ||
| 135 | other layer has not been updated to the new version of the recipe | ||
| 136 | yet). | ||
| 137 | |||
| 138 | The default fatal behavior is safest because it is the sane reaction | ||
| 139 | given something is out of sync. It is important to realize when your | ||
| 140 | changes are no longer being applied. | ||
| 141 | |||
| 142 | :term:`BB_DEFAULT_TASK` | 130 | :term:`BB_DEFAULT_TASK` |
| 143 | The default task to use when none is specified (e.g. with the ``-c`` | 131 | The default task to use when none is specified (e.g. with the ``-c`` |
| 144 | command line option). The task name specified should not include the | 132 | command line option). The task name specified should not include the |
