summaryrefslogtreecommitdiffstats
path: root/meta/classes/create-spdx.bbclass
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2021-09-07 09:02:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-08 15:32:55 +0100
commit745bc895745c58a99edb85da9081e71e3e29b9a4 (patch)
tree37b5e89d1d4947994303840e119dc8099bb9ce61 /meta/classes/create-spdx.bbclass
parent7de1e4cd7a183a68212be30b6f4e964a54852f1d (diff)
downloadpoky-745bc895745c58a99edb85da9081e71e3e29b9a4.tar.gz
create-spdx: remove trailing comma
The trailing comma turns ref_id into an object instead of a string when added to the relationship table. (From OE-Core rev: ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/create-spdx.bbclass')
-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
270 doc_ref.checksum.checksumValue = source_file.doc_sha1 270 doc_ref.checksum.checksumValue = source_file.doc_sha1
271 package_doc.externalDocumentRefs.append(doc_ref) 271 package_doc.externalDocumentRefs.append(doc_ref)
272 272
273 ref_id = "%s:%s" % (doc_ref.externalDocumentId, source_file.file.SPDXID), 273 ref_id = "%s:%s" % (doc_ref.externalDocumentId, source_file.file.SPDXID)
274 else: 274 else:
275 bb.debug(1, "Debug source %s with SHA256 %s not found in any dependency" % (str(debugsrc_path), file_sha256)) 275 bb.debug(1, "Debug source %s with SHA256 %s not found in any dependency" % (str(debugsrc_path), file_sha256))
276 break 276 break