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.ku...@lntinfotech.com] Sent: Sunday, July 21, 2013 11:44 PM To: Ballard, Lee; yocto@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_ball...@dell.com<mailto:lee_ball...@dell.com> [mailto:lee_ball...@dell.com] Sent: Tuesday, July 16, 2013 7:58 PM To: Amit Kumar; yocto@yoctoproject.org<mailto:yocto@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-boun...@yoctoproject.org<mailto:yocto-boun...@yoctoproject.org> [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Amit Kumar Sent: Tuesday, July 16, 2013 6:22 AM To: yocto@yoctoproject.org<mailto:yocto@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"
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto