sstate.bbclass: Add an extra check for sstate_mirrors
authorJoe MacDonald <joe@deserted.net>
Tue, 2 Jul 2013 13:19:07 +0000 (09:19 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jul 2013 14:34:26 +0000 (15:34 +0100)
commita3b3cccf4883ec72895cad4145970a9038bf8314
treec54c6245d7b58a2467851d499301f5bed24005c5
parent590b1c0903644b57d5d2c739e1d3c61153995c32
sstate.bbclass: Add an extra check for sstate_mirrors

BB_NO_NETWORK disables any fetching, however if we're using an external
sstate cache, we may want to be able to fetch those objects even if we are
not fetching the upstream sources.  Denote this situation by setting
SSTATE_MIRROR_ALLOW_NETWORK in local.conf.  When it is found, for sstate
cache fetches, mask off BB_NO_NETWORK for the local function.

(From OE-Core rev: ed585cad2e1fdc323c05fa82055a071bcf98d1bc)

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass