mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
classes/create-spdx: Collect all task dependencies
Stop filtering the runtime dependencies based on do_create_sdpx (makes it only pick up things in DEPENDS) and instead include all task dependencies that are not the current PN. This allows other dependency methods to be picked up correctly, for example the dependency on the kernel used by kernel modules. (From OE-Core rev: c9659562cf88a820c668ff1eb20814dcb4829392) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
45ea7b7970
commit
b8b45c35fa
@@ -528,8 +528,7 @@ def collect_package_providers(d):
|
||||
|
||||
taskdepdata = d.getVar("BB_TASKDEPDATA", False)
|
||||
deps = sorted(set(
|
||||
dep[0] for dep in taskdepdata.values() if
|
||||
dep[1] == "do_create_spdx" and dep[0] != d.getVar("PN")
|
||||
dep[0] for dep in taskdepdata.values() if dep[0] != d.getVar("PN")
|
||||
))
|
||||
deps.append(d.getVar("PN"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user