diff options
author | Keiya Nobuta <nobuta.keiya@fujitsu.com> | 2022-10-19 19:57:37 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-09 17:42:14 +0000 |
commit | 2f52d04e176c5b86a0e4560217c4e240547d675a (patch) | |
tree | 1434c69db5518f02cbc141c168dad42c17c952b0 /meta | |
parent | 3d58ac1dddfcc24bff16dabb07609f269c0ea894 (diff) | |
download | poky-2f52d04e176c5b86a0e4560217c4e240547d675a.tar.gz |
create-spdx: Remove ";name=..." for downloadLocation
(From OE-Core rev: e2258c34a7a587f67b233617613a12fe4549932a)
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')
-rw-r--r-- | meta/classes/create-spdx.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass index 47dd12c383..c190ad3889 100644 --- a/meta/classes/create-spdx.bbclass +++ b/meta/classes/create-spdx.bbclass | |||
@@ -459,6 +459,7 @@ python do_create_spdx() { | |||
459 | 459 | ||
460 | for s in d.getVar('SRC_URI').split(): | 460 | for s in d.getVar('SRC_URI').split(): |
461 | if not s.startswith("file://"): | 461 | if not s.startswith("file://"): |
462 | s = s.split(';')[0] | ||
462 | recipe.downloadLocation = s | 463 | recipe.downloadLocation = s |
463 | break | 464 | break |
464 | else: | 465 | else: |