]> code.ossystems Code Review - openembedded-core.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>
Tue, 25 Jan 2011 12:32:49 +0000 (12:32 +0000)
commit098e8ded339f3bf864f3bad9871028176f70b12b
tree6d5dc51856d06aed9e93516cdb1d66e8ce6c87c0
parent733de7596c2ed78a846541b3290f01c21ff96606
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

Signed-off-by: Yu Ke <ke.yu@intel.com>
bitbake/lib/bb/fetch2/__init__.py