]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
packagegroup: Handle SPDX signature issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Jun 2023 21:45:04 +0000 (22:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Jun 2023 22:40:20 +0000 (23:40 +0100)
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>
meta/classes-recipe/packagegroup.bbclass

index 6f17fc73b0fe319487d9bb6b12e7918333b29261..c2db664904508c03d75e663191344f6dac00e5b8 100644 (file)
@@ -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 () {