<div dir="ltr"><div>&gt; Is there some way I can use a specific (and *invariant*) local source 
mirror folder *only if it exists*, and use our internal HTTP pre-mirror 
otherwise?<br><br></div>Apologies, it seems I may have posted this to the &#39;wrong&#39; list. Anyway, I see that both poky and oe-core have an &#39;own-mirrors&#39; class. Since I&#39;m using a Yocto-based distro... I guess I should have posted to <a href="https://lists.yoctoproject.org/listinfo/poky.">https://lists.yoctoproject.org/listinfo/poky.</a>..<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 11:29 AM, Evade Flow <span dir="ltr">&lt;<a href="mailto:evadeflow@gmail.com" target="_blank">evadeflow@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>This might be an &#39;X-Y&#39; problem, so I should explain what I&#39;m trying to achieve. We have a somewhat beefy build server with 32 cores that most of my team likes to `ssh` into to do builds of our Yocto/OE-based BSP. But a few of us build on different machines often enough that I recently spun up a web server—on the 32-core build machine—to act as a &#39;pre-mirror&#39; to statically serve  our dependencies for remote builds. The web server is serving the exact same folder that I&#39;ve been pointing `SOURCE_MIRROR_URL` at, as described at: <a href="https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_create_my_own_source_download_mirror_.3F" target="_blank">https://wiki.yoctoproject.org/<wbr>wiki/How_do_I#Q:_How_do_I_<wbr>create_my_own_source_download_<wbr>mirror_.3F</a><br><br></div>When I went to integrate support for the HTTP pre-mirror, I ran into the following problem: if I assign `SOURCE_MIRROR_URL` and the specified folder doesn&#39;t exist (as will be the case for remote builds), the build *fails*. I had hoped that bitbake would &#39;fall through&#39; to searching other pre-mirrors, but that doesn&#39;t appear to be the case(?)<br><br></div>IIs there some way I can use a specific (and *invariant*) local source mirror folder *only if it exists*, and use our internal HTTP pre-mirror otherwise?<br><br>```<br>$ bitbake --version<br>BitBake Build Tool Core version 1.28.0<br>```<br><br></div>
</blockquote></div><br></div>