]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bb.fetch2: add "BB_NO_NETWORK" option
authorYu Ke <ke.yu@intel.com>
Mon, 24 Jan 2011 06:58:26 +0000 (14:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Feb 2011 23:36:44 +0000 (23:36 +0000)
commita605deb12ace4c7abdf72bbcdfb59d9fc3569801
tree448743ddf6a44d0fd433327e65a80576af56feb4
parentcd3705347a72fe869c955e0ab4111b6bdad913c9
bb.fetch2: add "BB_NO_NETWORK" option

Sometime user want a purely local fetching, i.e. using local mirror without
any remote netowrk access. BB_NO_NETWORK option is introduced for this purpose

check_network_access() is the guard for BB_NO_NETWOKR option. it should be
put in any place that fetcher use network access

(From Poky rev: 098e8ded339f3bf864f3bad9871028176f70b12b)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py