diff options
author | Insu Park <insu0.park@gmail.com> | 2023-12-27 23:56:17 +0900 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-01-05 03:25:38 -1000 |
commit | e25b0dcc9e82389f48bd8c4ab7c729b9cf6dcbd5 (patch) | |
tree | 47e29291144eb82b8593c077a931772d389eccaa /scripts/lib/scriptpath.py | |
parent | 80cc03ec403a4901e0d8ccb353a4770d13b88e0f (diff) | |
download | poky-e25b0dcc9e82389f48bd8c4ab7c729b9cf6dcbd5.tar.gz |
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: 48799c68b69b7921c809e0fc970303866643eb2a)
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
and added the 3rd argument, "exclusions", to handle_contains().
- 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>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions