diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-01 22:45:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-06 23:41:13 +0100 |
commit | 06b5f249ced23b6bc442758131832b8640164b44 (patch) | |
tree | f81da77a3c477c7ebae7630ba3e62df3a3dcd91e | |
parent | 72902feb0ef87fcf175f009d3cdf26d0850683f3 (diff) | |
download | poky-06b5f249ced23b6bc442758131832b8640164b44.tar.gz |
packagegroup: Handle SPDX signature issues
Packagegroups have "special" sstate signature behaviour in that they don't rebuild
when their dependencies do. This causes problems for SPDX task signatures. Since
packagegroups don't actually have any code in them, we don't need the standard
dependencies anyway so cancel out and allow the sstate signatures to function
correctly.
(From OE-Core rev: 5c4ed243c144e261eae5f2ccf5626371d87a8a43)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes-recipe/packagegroup.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/packagegroup.bbclass b/meta/classes-recipe/packagegroup.bbclass index 6f17fc73b0..c2db664904 100644 --- a/meta/classes-recipe/packagegroup.bbclass +++ b/meta/classes-recipe/packagegroup.bbclass | |||
@@ -54,6 +54,9 @@ deltask do_compile | |||
54 | deltask do_install | 54 | deltask do_install |
55 | deltask do_populate_sysroot | 55 | deltask do_populate_sysroot |
56 | 56 | ||
57 | do_create_runtime_spdx[deptask] = "do_create_spdx" | ||
58 | do_create_runtime_spdx[rdeptask] = "" | ||
59 | |||
57 | INHIBIT_DEFAULT_DEPS = "1" | 60 | INHIBIT_DEFAULT_DEPS = "1" |
58 | 61 | ||
59 | python () { | 62 | python () { |