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:40:20 +0100
commit5c4ed243c144e261eae5f2ccf5626371d87a8a43 (patch)
tree0df958222755b730dd8721229b59338ce2de527a
parent5e645ff3d02decba4ed7d082a0e41a2655862039 (diff)
downloadopenembedded-core-contrib-5c4ed243c144e261eae5f2ccf5626371d87a8a43.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. 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
deltask do_install
deltask do_populate_sysroot
+do_create_runtime_spdx[deptask] = "do_create_spdx"
+do_create_runtime_spdx[rdeptask] = ""
+
INHIBIT_DEFAULT_DEPS = "1"
python () {