aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-11 21:29:24 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-11 21:29:24 +0000
commit5e8f28da755ad3c308b9e94e3849dcaf34d4b255 (patch)
treec5240206f064e3176c0a6e7585a90463e6a7b05a
parent36e892cedf337b771b51852d4875962abaa199d7 (diff)
downloadbitbake-5e8f28da755ad3c308b9e94e3849dcaf34d4b255.tar.gz
fetch/wget.py: Fix wget fetching of urls with parameters specified (from Poky)
-rw-r--r--ChangeLog3
-rw-r--r--lib/bb/fetch/wget.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 455cfde43..53570bacc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -170,7 +170,8 @@ Changes in Bitbake 1.9.x:
- Also allow user and pswd options in SRC_URIs globally (from Poky)
- Improve proxy handling when using mirrors (from Poky)
- Add bb.utils.prune_suffix function
- - Fix hg checkouts of specific revisions
+ - Fix hg checkouts of specific revisions (from Poky)
+ - Fix wget fetching of urls with parameters specified (from Poky)
Changes in Bitbake 1.8.0:
- Release 1.7.x as a stable series
diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py
index 36617fbba..2a899c580 100644
--- a/lib/bb/fetch/wget.py
+++ b/lib/bb/fetch/wget.py
@@ -66,7 +66,7 @@ class Wget(Fetch):
uri_host = uri_decoded[1]
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)
httpproxy = None
ftpproxy = None