mirror of
git://git.yoctoproject.org/poky
synced 2026-09-26 19:57:48 +00:00
bitbake: Fix wget fetcher to better handle urls with ; followed by parameters in the url
This commit is contained in:
parent
fa89b73e25
commit
3ec9a7de2a
@ -66,7 +66,7 @@ class Wget(Fetch):
|
|||||||
uri_host = uri_decoded[1]
|
uri_host = uri_decoded[1]
|
||||||
|
|
||||||
bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
|
bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
|
||||||
fetchcmd = fetchcmd.replace("${URI}", uri)
|
fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
|
||||||
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
|
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
|
||||||
httpproxy = None
|
httpproxy = None
|
||||||
ftpproxy = None
|
ftpproxy = None
|
||||||
|
|||||||
@ -66,7 +66,7 @@ class Wget(Fetch):
|
|||||||
uri_host = uri_decoded[1]
|
uri_host = uri_decoded[1]
|
||||||
|
|
||||||
bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
|
bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri)
|
||||||
fetchcmd = fetchcmd.replace("${URI}", uri)
|
fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
|
||||||
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
|
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
|
||||||
httpproxy = None
|
httpproxy = None
|
||||||
ftpproxy = None
|
ftpproxy = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user