[bitbake-devel] [PATCH v2 2/2] gitsm.py: support BB_NO_NETWORK during do_unpack

Christopher Larson kergoth at gmail.com
Wed Sep 6 15:24:14 UTC 2017


On Wed, Sep 6, 2017 at 5:33 AM, Mikko Rapeli <mikko.rapeli at bmw.de> wrote:

> 'git submodule update --init -recursive' will clone remote repositories
> if local tree does not have the referenced commits. Add --no-fetch
> to git submodule update if BB_NO_NETWORK is defined and only local
> download caches should be used.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli at bmw.de>
>

If we’re unpacking, there’s no reason to be contacting anything remote
regardless of the value of BB_NO_NETWORK. We should be passing —no-fetch
all the time. We also need to be running a submodule sync to update any
changes urls in the submodule remotes, but there are other issues to be
resolved beyond that.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170906/f27dafd3/attachment-0002.html>


More information about the bitbake-devel mailing list