summaryrefslogtreecommitdiffstats
path: root/meta/classes/create-spdx.bbclass
diff options
context:
space:
mode:
authorKeiya Nobuta <nobuta.keiya@fujitsu.com>2022-10-19 19:57:37 +0900
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-10 14:39:24 +0000
commit03a7c1df50e789b2d632042d29e15b4d76685696 (patch)
treeb66b9911d204ae945c904fba3775f8384dcd94bc /meta/classes/create-spdx.bbclass
parent1716159ede14e063292dd13965d6a19e67da6977 (diff)
downloadpoky-03a7c1df50e789b2d632042d29e15b4d76685696.tar.gz
create-spdx: Remove ";name=..." for downloadLocation
(From OE-Core rev: 8a13c860338a4b1d7d971760c467f2f2d3ee393a) Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit bbecab53d1b27f3bb8c5882cb0ec39b04ef300a3) Signed-off-by: Steve Sakoman <steve@sakoman.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.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index d735f20c20..d0bfcc7de6 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -451,6 +451,7 @@ python do_create_spdx() {
451 451
452 for s in d.getVar('SRC_URI').split(): 452 for s in d.getVar('SRC_URI').split():
453 if not s.startswith("file://"): 453 if not s.startswith("file://"):
454 s = s.split(';')[0]
454 recipe.downloadLocation = s 455 recipe.downloadLocation = s
455 break 456 break
456 else: 457 else: