summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-09-14 15:40:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-20 22:24:09 +0100
commit9e4dc60c7590bba50dc3881989f2f3066dc89c1e (patch)
tree5002ddc71b41e24e8d124da656914b8c330fd64d /bitbake
parent1fba7bec25c7788edf89a29ab5ebf58d4afab500 (diff)
downloadast2050-yocto-poky-9e4dc60c7590bba50dc3881989f2f3066dc89c1e.zip
ast2050-yocto-poky-9e4dc60c7590bba50dc3881989f2f3066dc89c1e.tar.gz
fetch2/wget: make checkstatus() quieter
Change the wget fetcher to not emit the commands output when calling checkstatus, this matches the behaviour of the git fetchers checkstatus() method. (Bitbake rev: 5896d8ff7bcf85b3bab20fc27c4c15e87f86b4d9) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 7bd027a..d3be069 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -69,10 +69,11 @@ class Wget(FetchMethod):
fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
- logger.info("fetch " + uri)
- logger.debug(2, "executing " + fetchcmd)
+ if not checkonly:
+ logger.info("fetch " + uri)
+ logger.debug(2, "executing " + fetchcmd)
bb.fetch2.check_network_access(d, fetchcmd)
- runfetchcmd(fetchcmd, d)
+ runfetchcmd(fetchcmd, d, quiet=checkonly)
# Sanity check since wget can pretend it succeed when it didn't
# Also, this used to happen if sourceforge sent us to the mirror page
OpenPOWER on IntegriCloud