<div dir="ltr">On Wed, Sep 6, 2017 at 5:33 AM, Mikko Rapeli <span dir="ltr">&lt;<a href="mailto:mikko.rapeli@bmw.de" target="_blank">mikko.rapeli@bmw.de</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&#39;git submodule update --init -recursive&#39; will clone remote repositories<br>
if local tree does not have the referenced commits. Add --no-fetch<br>
to git submodule update if BB_NO_NETWORK is defined and only local<br>
download caches should be used.<br>
<br>
Signed-off-by: Mikko Rapeli &lt;<a href="mailto:mikko.rapeli@bmw.de">mikko.rapeli@bmw.de</a>&gt;<br></span></blockquote><div><br></div><div>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.</div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>
</div></div>