]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
create-spdx: Remove ";name=..." for downloadLocation
authorKeiya Nobuta <nobuta.keiya@fujitsu.com>
Wed, 19 Oct 2022 10:57:37 +0000 (19:57 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Oct 2022 11:26:17 +0000 (12:26 +0100)
Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes/create-spdx.bbclass

index 47dd12c3834b8090958a2c1acaba141898ebdc55..c190ad388902c0594f593c692074041f04a99ca4 100644 (file)
@@ -459,6 +459,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: