Skip to contentSkip to conversation

fragments/sbom-cve-check: inherit create-spdx

PATCH New Ross Burton 1 participant 1 message Apr 1

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fragments/sbom-cve-check: inherit create-spdx

The sbom-cve-check integration is dependent on SPDX being generated, so add it to INHERIT in this fragment to ensure that it has been.

---
 meta/conf/fragments/yocto/sbom-cve-check.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta/conf/fragments/yocto/sbom-cve-check.conf +4 -0
index a3f229acf28..73ed35be270 100644
@@ -7,8 +7,12 @@ BB_CONF_FRAGMENT_DESCRIPTION = "Enables sbom-cve-check and applies the following
    allowing CVEs to be excluded if the source is not compiled. \
 "
 
+INHERIT += "create-spdx"
+
 IMAGE_CLASSES:append = " sbom-cve-check"
+
 SRCREV:pn-sbom-cve-check-update-nvd-native = "${AUTOREV}"
 SRCREV:pn-sbom-cve-check-update-cvelist-native = "${AUTOREV}"
+
 SPDX_INCLUDE_VEX = "all"
 SPDX_INCLUDE_COMPILED_SOURCES:pn-linux-yocto = "1"
Signature · 1 line
2.43.0