I get this error: | ERROR: Function 'Network access disabled through BB_NO_NETWORK but access rquested with command git ls-remote git://github.com/philb/update-rc.d.git update-rc.d_0.7 (for url None)' failed NOTE: package update-rc.d-native-0.7-r4: task do_fetch: Failed but I have a suitable tarball staged for this SRC_URI.
More data: $ ls -l /work/misc/Poky/sources/git*update-rc* -rw-rw-r-- 1 gthomas gthomas 8386 May 24 07:59 /work/misc/Poky/sources/git2_github.com.philb.update-rc.d.git.tar.gz If I disable BB_NO_NETWORK, the build succeeds but the tarball is unchanged, so there is no reason it can't be built with BB_NO_NETWORK=1
This is actually kind of by design in the fetcher. The trouble is that recipe says "tag=<somename>" and that is not a revision. bitbake is being careful and using the remote repository to translate <somename> into a revision. A local repository might not be up to date. Its certainly a corner case but I can see people reporting a bug if we didn't do this too so I'm not sure we can win :(
So how can I ship something to my customers to build that may have no network connectivity? To date, I've been able to cache/stage all the relevant source files and provide those, but this seems to break that :-(
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=84d4af1f411742d321311066067e1384779fa700