From: Hiago De Franco Date: Fri, 19 Jun 2026 18:34:06 +0000 (-0300) Subject: nospdx: also drop do_create_recipe_sbom X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4478086b7b13ec365dfb4b2335fb35013e8ceea0;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git nospdx: also drop do_create_recipe_sbom create-spdx-3.0 adds do_create_recipe_sbom, which assembles the recipe SBOM from the SPDX document produced by do_create_recipe_spdx. nospdx deletes do_create_recipe_spdx but leaves do_create_recipe_sbom in, so on a recipe that inherits nospdx it has no SPDX document to read and, if executed, fails with: ERROR: meta-world-pkgdata-1.0-r0 do_create_recipe_sbom: Could not find a static SPDX document named static-meta-world-pkgdata do_create_recipe_sbom is reachable via sbom-cve-check-recipe.bbclass or explicit "bitbake -c create_recipe_sbom". In those cases nospdx recipes such as meta-world-pkgdata break. Delete it alongside the other recipe SPDX task. Signed-off-by: Hiago De Franco Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/nospdx.bbclass b/meta/classes-recipe/nospdx.bbclass index 7c99fcd1ec..925dc7c5b7 100644 --- a/meta/classes-recipe/nospdx.bbclass +++ b/meta/classes-recipe/nospdx.bbclass @@ -5,6 +5,7 @@ # deltask do_create_recipe_spdx +deltask do_create_recipe_sbom deltask do_create_spdx deltask do_create_spdx_runtime deltask do_create_package_spdx