bitbake/fetch2: Add explict network access exception and handling to give users usable error messages

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-11 22:08:21 +00:00
parent 4a226460d5
commit 029f19bd3d
9 changed files with 33 additions and 17 deletions

View File

@@ -114,7 +114,7 @@ class SSH(FetchMethod):
commands.mkarg(ldir)
)
bb.fetch2.check_network_access(d, cmd)
bb.fetch2.check_network_access(d, cmd, urldata.url)
runfetchcmd(cmd, d)