From: Richard Purdie Date: Thu, 1 Jun 2023 21:45:04 +0000 (+0100) Subject: packagegroup: Handle SPDX signature issues X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~726 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c4ed243c144e261eae5f2ccf5626371d87a8a43;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes-recipe/packagegroup.bbclass b/meta/classes-recipe/packagegroup.bbclass index 6f17fc73b0f..c2db6649045 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 () {