From 5c4ed243c144e261eae5f2ccf5626371d87a8a43 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 1 Jun 2023 22:45:04 +0100 Subject: [PATCH] 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 --- meta/classes-recipe/packagegroup.bbclass | 3 +++ 1 file changed, 3 insertions(+) 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 () { -- 2.47.3