aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2021-09-07 09:02:25 -0700
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-09-07 19:53:57 +0200
commit2fa9a2bbd04617f9d60350a92dd37187728efa1d (patch)
treed32fb6cc8b7fd8126fb404e53edd61d7fcd886ae
parent83cf874f9de9cbda4d89e668617557870571c2c3 (diff)
downloadopenembedded-core-contrib-abelloni/master-next-success.tar.gz
openembedded-core-contrib-abelloni/master-next-success.tar.bz2
openembedded-core-contrib-abelloni/master-next-success.zip
create-spdx: remove trailing commaabelloni/master-next-successabelloni/master-next
The trailing comma turns ref_id into an object instead of a string when added to the relationship table. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--meta/classes/create-spdx.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index 1e0b360558..0a2fad5640 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -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