diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-09-01 08:44:54 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-03 09:53:29 +0100 |
commit | b8b45c35fa6fe70a102e1faf296d58340584cae1 (patch) | |
tree | 670be22203b0a69b3de5668e2ce1ab9abdbeacb8 /meta/classes/create-spdx.bbclass | |
parent | 45ea7b7970ff69265e935dfc9c4adb7df848f739 (diff) | |
download | poky-b8b45c35fa6fe70a102e1faf296d58340584cae1.tar.gz |
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>
Diffstat (limited to 'meta/classes/create-spdx.bbclass')
-rw-r--r-- | meta/classes/create-spdx.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass index f72b7b762e..db1d1756c9 100644 --- a/meta/classes/create-spdx.bbclass +++ b/meta/classes/create-spdx.bbclass | |||
@@ -528,8 +528,7 @@ def collect_package_providers(d): | |||
528 | 528 | ||
529 | taskdepdata = d.getVar("BB_TASKDEPDATA", False) | 529 | taskdepdata = d.getVar("BB_TASKDEPDATA", False) |
530 | deps = sorted(set( | 530 | deps = sorted(set( |
531 | dep[0] for dep in taskdepdata.values() if | 531 | dep[0] for dep in taskdepdata.values() if dep[0] != d.getVar("PN") |
532 | dep[1] == "do_create_spdx" and dep[0] != d.getVar("PN") | ||
533 | )) | 532 | )) |
534 | deps.append(d.getVar("PN")) | 533 | deps.append(d.getVar("PN")) |
535 | 534 | ||