diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-11-21 14:31:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:10 +0000 |
commit | 38438b6cf42fb7ad45b9a901f57913af7e7591a3 (patch) | |
tree | 1ea9bd4fa7b7b90fb4a0d4a65235e18062ff2872 /bitbake/lib/bb/fetch2/wget.py | |
parent | 4e48892b859b3fe04c8c12b22d8975eed21c086b (diff) | |
download | poky-38438b6cf42fb7ad45b9a901f57913af7e7591a3.tar.gz |
bitbake: fetch2: obey BB_ALLOWED_NETWORKS when checking network access
[YOCTO #10508]
(Bitbake rev: ddd3bc2d64d7240ecb6b6e4a1ae29b1faef6cc22)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 4ba63df0a8..6dfb27bd95 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -95,7 +95,7 @@ class Wget(FetchMethod): | |||
95 | progresshandler = WgetProgressHandler(d) | 95 | progresshandler = WgetProgressHandler(d) |
96 | 96 | ||
97 | logger.debug(2, "Fetching %s using command '%s'" % (ud.url, command)) | 97 | logger.debug(2, "Fetching %s using command '%s'" % (ud.url, command)) |
98 | bb.fetch2.check_network_access(d, command) | 98 | bb.fetch2.check_network_access(d, command, ud.url) |
99 | runfetchcmd(command + ' --progress=dot -v', d, quiet, log=progresshandler) | 99 | runfetchcmd(command + ' --progress=dot -v', d, quiet, log=progresshandler) |
100 | 100 | ||
101 | def download(self, ud, d): | 101 | def download(self, ud, d): |