summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-01-24 15:56:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:36:45 +0000
commit4674898eddaccf1b620b5c9f8ea9bb194fff37ee (patch)
tree33998837915cda394c00b5b4f1392149d15692c6 /lib/bb/fetch2/wget.py
parenta605deb12ace4c7abdf72bbcdfb59d9fc3569801 (diff)
downloadbitbake-4674898eddaccf1b620b5c9f8ea9bb194fff37ee.tar.gz
bitbake/fetch2: Instrument fetchers when making network access
(From Poky rev: 029f8584d547c0792ffbe2f83451dcdfe2a3db7f) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/wget.py')
-rw-r--r--lib/bb/fetch2/wget.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch2/wget.py b/lib/bb/fetch2/wget.py
index 91cfafb5b..88cb8c7fe 100644
--- a/lib/bb/fetch2/wget.py
+++ b/lib/bb/fetch2/wget.py
@@ -69,6 +69,7 @@ class Wget(Fetch):
fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
logger.info("fetch " + uri)
logger.debug(2, "executing " + fetchcmd)
+ bb.fetch2.check_network_access(d, fetchcmd)
runfetchcmd(fetchcmd, d)
# Sanity check since wget can pretend it succeed when it didn't