[yocto] Regarding build Yocto offline

Burton, Ross ross.burton at intel.com
Mon Jul 16 02:27:03 PDT 2018


What recipe is failing?  It's most likely to be a recipe which is
using a git tag instead of a git hash in the SRCREV.

Ross

On 13 July 2018 at 09:58, S, Karthikeyan <Karthikeyan.S at trane.com> wrote:
> Greetings,
>
>              Initially I was able to built with github access, but our
> requirement is to build offline(without Internet), I followed the steps
> given in
> https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_create_my_own_source_download_mirror_.3F
>
> I added following lines in conf/local.conf (Git enabled machine)
>
> SOURCE_MIRROR_URL ?= "file:///source_mirror/sources/"
>
> INHERIT += "own-mirrors"
>
>  BB_GENERATE_MIRROR_TARBALLS = "1"
>
> and copied download directory to network disabled system and added following
> in conf/local.conf(network disabled system).
>
> SOURCE_MIRROR_URL ?= "file:///source_mirror/sources/"
>
>  INHERIT += "own-mirrors"
>
>  BB_GENERATE_MIRROR_TARBALLS = "1"
>
>  BB_NO_NETWORK = "1"
>
> It was throwing error, saying that "Network is disabled through
> BB_NO_NETWORK=1" and build was failed. Please share me the exact procedure
> to build yocto offline.
>
>
>
>
>
> Thanks & Regards,
>
> Karthik S
>
>
>
>
> ________________________________
>
> The information contained in this message is privileged and intended only
> for the recipients named. If the reader is not a representative of the
> intended recipient, any review, dissemination or copying of this message or
> the information it contains is prohibited. If you have received this message
> in error, please immediately notify the sender, and delete the original
> message and attachments.
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


More information about the yocto mailing list