diff options
| author | Yu Ke <ke.yu@intel.com> | 2011-01-24 15:56:54 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:32:50 +0000 |
| commit | 029f8584d547c0792ffbe2f83451dcdfe2a3db7f (patch) | |
| tree | f5d680b8b72371b1039d5aff6fac1b28eb9d530f /bitbake/lib/bb/fetch2/ssh.py | |
| parent | 098e8ded339f3bf864f3bad9871028176f70b12b (diff) | |
| download | poky-029f8584d547c0792ffbe2f83451dcdfe2a3db7f.tar.gz | |
bitbake/fetch2: Instrument fetchers when making network access
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch2/ssh.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/ssh.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py index 78f55a6e9f..711e66896e 100644 --- a/bitbake/lib/bb/fetch2/ssh.py +++ b/bitbake/lib/bb/fetch2/ssh.py | |||
| @@ -112,6 +112,8 @@ class SSH(Fetch): | |||
| 112 | commands.mkarg(ldir) | 112 | commands.mkarg(ldir) |
| 113 | ) | 113 | ) |
| 114 | 114 | ||
| 115 | bb.fetch2.check_network_access(d, cmd) | ||
| 116 | |||
| 115 | (exitstatus, output) = commands.getstatusoutput(cmd) | 117 | (exitstatus, output) = commands.getstatusoutput(cmd) |
| 116 | if exitstatus != 0: | 118 | if exitstatus != 0: |
| 117 | print(output) | 119 | print(output) |
