mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
sstate: use SSTATE_EXCLUDEDEPS_SYSROOT for skipping base-passwd|shadow-sysroot recipes
Use the newly introduced SSTATE_EXCLUDEDEPS_SYSROOT for specifying the base-passwd|shadow-sysroot recipes to be excluded from a recipe sysroot. (From OE-Core rev: 68e502e9063a88532fe0154f152ba408f0091900) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e02176b5e6
commit
6e362580a6
@@ -975,9 +975,6 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None):
|
||||
|
||||
# Consider sysroot depending on sysroot tasks
|
||||
if taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot':
|
||||
# base-passwd/shadow-sysroot don't need their dependencies
|
||||
if taskdependees[dep][0].endswith(("base-passwd", "shadow-sysroot")):
|
||||
continue
|
||||
# Allow excluding certain recursive dependencies. If a recipe needs it should add a
|
||||
# specific dependency itself, rather than relying on one of its dependees to pull
|
||||
# them in.
|
||||
|
||||
@@ -79,8 +79,10 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
||||
"
|
||||
|
||||
# Nothing needs to depend on libc-initial/gcc-cross-initial
|
||||
# base-passwd/shadow-sysroot don't need their dependencies
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += "\
|
||||
.*->.*-initial.* \
|
||||
.*(base-passwd|shadow-sysroot)->.* \
|
||||
"
|
||||
|
||||
# We need to keep bitbake tools in PATH
|
||||
|
||||
Reference in New Issue
Block a user