AnsweredAssumed Answered

Build Yocto offline in imx6ul

Question asked by Karthikeyan S on Jul 13, 2018
Latest reply on Jul 17, 2018 by Rita Wang

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 How do I - Yocto Project 

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 for imx6ul




Outcomes