poky/bitbake/lib
Insu Park 8ffcfd69b5 bitbake: data: Add missing dependency handling of remove operator
A recipe variable handles its dependencies even on the "contains"
variables within the "inline Python expressions" like bb.utils.filter().
And it also handles those in the append operator correctly, but the
problem is that it does not so in the remove operator.

Fix it by adding the missing dependencies every time the remove
operator has been handled.
Also add a test case to check if the override operators handle
dependencies correctly.

(Bitbake rev: 23639edfbbb3fced7606dce211db8a31c5766585)

Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: b90520eedb1dbc7f6a3928d089fe74fafb864eb5
- Conflicts in data.py are resolved as the master branch moved
  handle_contains() and handle_remove() out of the try block.
- The test code in codeparser.py are modified as the master branch
  added three more arguments to the build_dependencies().

Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:12 -10:00
..
bb bitbake: data: Add missing dependency handling of remove operator 2024-01-04 05:00:12 -10:00
bblayers bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
bs4 bitbake: lib/bs4/testing.py: fix bs4 testing 2020-05-05 13:22:29 +01:00
hashserv bitbake: hashserv: Improve behaviour for better determinism/sstate reuse 2021-10-11 11:00:06 +01:00
layerindexlib bitbake: lib: Replace remaining "blacklist"/"whitelist" usage 2022-02-21 23:37:26 +00:00
ply bitbake: utils/ply: Update md5 to better report errors with hashlib 2023-02-17 15:05:08 +00:00
progressbar bitbake: bitbake: Add initial pass of SPDX license headers to source code 2019-05-04 10:44:04 +01:00
prserv bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
simplediff bitbake: lib/bb/siggen: show word-diff for single-line values containing spaces 2017-04-10 23:00:32 +01:00
toaster bitbake: toastergui: verify that an existing layer path is given 2023-12-21 06:14:00 -10:00
codegen.py bitbake: codegen: implement ast.NodeVisitor.visit_Constant 2021-10-14 22:37:43 +01:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00