bitbake/fetch2: Instrument fetchers when making network access

Signed-off-by: Yu Ke <ke.yu@intel.com>
This commit is contained in:
Yu Ke
2011-01-24 15:56:54 +08:00
committed by Richard Purdie
parent 098e8ded33
commit 029f8584d5
9 changed files with 22 additions and 1 deletions

View File

@@ -112,6 +112,8 @@ class SSH(Fetch):
commands.mkarg(ldir)
)
bb.fetch2.check_network_access(d, cmd)
(exitstatus, output) = commands.getstatusoutput(cmd)
if exitstatus != 0:
print(output)