summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-01 22:45:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-06 23:41:13 +0100
commit06b5f249ced23b6bc442758131832b8640164b44 (patch)
treef81da77a3c477c7ebae7630ba3e62df3a3dcd91e
parent72902feb0ef87fcf175f009d3cdf26d0850683f3 (diff)
downloadpoky-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.bbclass3
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
54deltask do_install 54deltask do_install
55deltask do_populate_sysroot 55deltask do_populate_sysroot
56 56
57do_create_runtime_spdx[deptask] = "do_create_spdx"
58do_create_runtime_spdx[rdeptask] = ""
59
57INHIBIT_DEFAULT_DEPS = "1" 60INHIBIT_DEFAULT_DEPS = "1"
58 61
59python () { 62python () {