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/hg.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/hg.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/hg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py index ee5b2dd6f3..7e9afceac8 100644 --- a/bitbake/lib/bb/fetch2/hg.py +++ b/bitbake/lib/bb/fetch2/hg.py | |||
| @@ -221,7 +221,7 @@ class Hg(FetchMethod): | |||
| 221 | """ | 221 | """ |
| 222 | Compute tip revision for the url | 222 | Compute tip revision for the url |
| 223 | """ | 223 | """ |
| 224 | bb.fetch2.check_network_access(d, self._buildhgcommand(ud, d, "info")) | 224 | bb.fetch2.check_network_access(d, self._buildhgcommand(ud, d, "info"), ud.url) |
| 225 | output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d) | 225 | output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d) |
| 226 | return output.strip() | 226 | return output.strip() |
| 227 | 227 | ||
