create-spdx: remove trailing comma
PATCH 1/1 create-spdx: remove trailing comma
The trailing comma turns ref_id into an object instead of a string when added to the relationship table.
Signed-off-by Saul Wold <[email protected]>
--- meta/classes/create-spdx.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/create-spdx.bbclass +1 -1
@@ -270,7 +270,7 @@ def add_package_sources_from_debug(d, package_doc, spdx_package, package, packag doc_ref.checksum.checksumValue = source_file.doc_sha1 package_doc.externalDocumentRefs.append(doc_ref) - ref_id = "%s:%s" % (doc_ref.externalDocumentId, source_file.file.SPDXID), + ref_id = "%s:%s" % (doc_ref.externalDocumentId, source_file.file.SPDXID) else: bb.debug(1, "Debug source %s with SHA256 %s not found in any dependency" % (str(debugsrc_path), file_sha256)) break
Signature · 1 line
2.25.1