[OE-core] BB_NO_NETWORK = "1" causes fetch to fail for unnecessary u-boot parsing

Chris Larson clarson at kergoth.com
Wed Jan 30 20:57:48 UTC 2013


On Wed, Jan 30, 2013 at 1:49 PM, Harvey Chapman <hchapman-oecore at 3gfp.com>wrote:

> On Jan 30, 2013, at 3:34 PM, Chris Larson <clarson at kergoth.com> wrote:
>
> On Wed, Jan 30, 2013 at 1:34 PM, Chris Larson <clarson at kergoth.com> wrote:
>
>>
>> It's worth bringing up the SRCREV_POLICY variable, which lets you control
>> how bitbake handles caching of srcrevs. By default, it figures it needs to
>> get the mapping every time (value == clear, or unset), which can make sense
>> in certain cases. But you can tell it to go ahead and use the values it has
>> cached from a previous run, as well (value == cache). This can be useful if
>> you know you're moving into an offline state and want to prepare for it
>> above and beyond the -c fetchall.
>
>
> Erm, s/SRCREV_POLICY/BB_SRCREV_POLICY/
>
>
> So, should BB_NO_NETWORK=1 automatically set BB_SRCREV_POLICY=cache
> because the former implies the latter?
>

The latter only works if you've already done a build in that tmpdir and
therefore got the cache prepopulated. So no, it should only be enabled
explicitly, indicating the user has at least considered the implications.
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130130/64c9e955/attachment-0002.html>


More information about the Openembedded-core mailing list