[yocto] Regarding offline build

Paul Eggleton paul.eggleton at linux.intel.com
Tue Jul 23 03:35:28 PDT 2013


Amit Kumar wrote:
> > To build the Yocot Project offline, i have done the following- 
> > [1] Downloaded the Poky-<latest>.tar.bz2 
> > [2] Untar it. and enter the poky
> > dir.
> > [3] execute the - source oe-init-build-env 
> > [4] edit the
> > conf/local.conf file as per ur suggesion.
> > [5] Build the image - bitbake core-image-minimal
> > 
> > But still i am getting an error-
> > To have to look into the error plz find the attached error log-

The missing step is you haven't populated DL_DIR (defaults to downloads/ under 
the build directory) with files that would normally be downloaded by the 
system, so it is attempting to download them and stopping because 
BB_NO_NETWORK is set, hence:

| ERROR: Function failed: Network access disabled through BB_NO_NETWORK 

The easiest thing to do is to go to a machine that does have full internet 
access, untar poky, source oe-init-build-env and then run:

 bitbake -c fetchall <imagename>

Then copy the contents of DL_DIR to the machine without network access and you 
should be ready to go. 

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list