[yocto] Regarding offline build

Amit Kumar Amit.Kumar at lntinfotech.com
Mon Jul 22 23:41:33 PDT 2013


Hi Mr. Lee
            Thanks for replay and suggesion to build Yocoto project offline.
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- 



If u have any idea about that error but guide me to fix it.


Thnaks & Regards
Amit K

________________________________________
From: Lee_Ballard at Dell.com [Lee_Ballard at Dell.com]
Sent: Monday, July 22, 2013 7:49 PM
To: Amit Kumar; yocto at yoctoproject.org
Subject: RE: Regarding offline build

Here are the lines in our local.conf that make it work.  If you want you can use a local http mirror instead of file.

DL_DIR ?= "${TOPDIR}/tmp/downloads-keepout"
SSTATE_DIR ?= "${TOPDIR}/sstate-cache"

# we build on isolated network, so disable all network access
#don't really disable all network, as we need network to do sstate
BB_NO_NETWORK = "0"
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL ?= "file://${TOPDIR}/../sources/"
BB_GENERATE_MIRROR_TARBALLS = "1"
BB_FETCH_PREMIRRORONLY = "1"
CONNECTIVITY_CHECK_URIS=""
DISABLE_NETWORK_SANITY = "1"

From: Amit Kumar [mailto:Amit.Kumar at lntinfotech.com]
Sent: Sunday, July 21, 2013 11:44 PM
To: Ballard, Lee; yocto at yoctoproject.org
Subject: RE: Regarding offline build

Hi Mr. Lee,
            Thanks for replay.
I have still doubt to build offline. I have downloaded all the tar files, now what I should have to do? Do I need to modify all the *.bb files.
Do you have any example to build it offline.

I wants to build the MCSDK uses the Yocto Project. So for that I have download the mcsdk tar ball, which gives me all tar balls.
Now I am not getting how to process to build Yocto project.

If you have any idea please let me know.

Thanks & regards
Amit K


From: Lee_Ballard at Dell.com<mailto:Lee_Ballard at Dell.com> [mailto:Lee_Ballard at Dell.com]
Sent: Tuesday, July 16, 2013 7:58 PM
To: Amit Kumar; yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
Subject: RE: Regarding offline build

We do offline builds.  You need to download all the tar balls for all the open source recipes you build, or you can download pre-build images and SDK.  Another way is to create a local mirror of all the tar balls you need.

Lee Ballard
Platform Software Principal Engineer
Dell | Enterprise Product Group


From: yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org> [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Amit Kumar
Sent: Tuesday, July 16, 2013 6:22 AM
To: yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
Subject: [yocto] Regarding offline build

Hi,
            I have quarry regarding the Yocto Project build offline.
Is that possible to build the Yocto Project with internet access?
I have download the poky-<latest>.tar.bz2, now I wants to build it independently without having internet connection.
Do I need to download any other packages also to build it offline?



Thanks & Regards
Amit K

________________________________
The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled 1.odt
Type: application/vnd.oasis.opendocument.text
Size: 30327 bytes
Desc: Untitled 1.odt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130723/88064997/attachment.odt>


More information about the yocto mailing list