mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1716159ede
commit
03a7c1df50
@@ -451,6 +451,7 @@ python do_create_spdx() {
|
||||
|
||||
for s in d.getVar('SRC_URI').split():
|
||||
if not s.startswith("file://"):
|
||||
s = s.split(';')[0]
|
||||
recipe.downloadLocation = s
|
||||
break
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user