summaryrefslogtreecommitdiffstats
path: root/meta/classes/create-spdx-2.2.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/create-spdx-2.2.bbclass')
-rw-r--r--meta/classes/create-spdx-2.2.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass
index 3ee1b7ee0d..b0aef80db1 100644
--- a/meta/classes/create-spdx-2.2.bbclass
+++ b/meta/classes/create-spdx-2.2.bbclass
@@ -1131,6 +1131,8 @@ def combine_spdx(d, rootfs_name, rootfs_deploydir, rootfs_spdxid, packages, spdx
1131 1131
1132 for ref in doc.externalDocumentRefs: 1132 for ref in doc.externalDocumentRefs:
1133 ref_path = oe.sbom.doc_find_by_namespace(deploy_dir_spdx, package_archs, ref.spdxDocument) 1133 ref_path = oe.sbom.doc_find_by_namespace(deploy_dir_spdx, package_archs, ref.spdxDocument)
1134 if not ref_path:
1135 bb.fatal("Cannot find any SPDX file for document %s" % ref.spdxDocument)
1134 collect_spdx_document(ref_path) 1136 collect_spdx_document(ref_path)
1135 1137
1136 collect_spdx_document(image_spdx_path) 1138 collect_spdx_document(image_spdx_path)