[yocto] Regarding build Yocto offline

S, Karthikeyan Karthikeyan.S at trane.com
Fri Jul 13 01:58:34 PDT 2018


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/<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/<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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180713/5baf10cf/attachment-0001.html>


More information about the yocto mailing list