From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: FW: Regarding offline build
Date: Wed, 24 Jul 2013 07:47:21 -0600 [thread overview]
Message-ID: <51EFDAE9.7060805@mlbassoc.com> (raw)
In-Reply-To: <AF0985D076EB244693F2CCD71AAB10BC2C5E6AB9E0@BLRINMSMBX01.bglrodc.lntinfotech.com>
On 2013-07-24 06:48, Amit Kumar wrote:
>
>
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Amit Kumar
> Sent: Wednesday, July 24, 2013 8:10 AM
> To: Paul Eggleton
> Cc: yocto@yoctoproject.org; Lee_Ballard@Dell.com
> Subject: Re: [yocto] Regarding offline build
>
> Hi,
> I have tried the steps suggested by Mr. Paul.
> But still i am facing an error to build yocto project offline.
> First - I use the machine that have full Internet access and execute the - bitbake -c fetchall core-image-minimal Before that i have enabled the DL_DIR in conf/local.conf file.
>
> One the fetching done, i remove the internet and build the image - bitbake -k core-image-minimal But still i am facing an error, some packages still required internet access during build.
>
> Please find the attached error log with this mail.
> Please let me know if i missed out any step.
This process should have worked. What files were in your DL_DIR at
the end of the fetchall step?
> ________________________________________
> From: Paul Eggleton [paul.eggleton@linux.intel.com]
> Sent: Tuesday, July 23, 2013 4:05 PM
> To: Amit Kumar
> Cc: Lee_Ballard@Dell.com; yocto@yoctoproject.org
> Subject: Re: [yocto] Regarding offline build
>
> 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
>
> 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
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2013-07-24 13:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-16 11:21 Regarding offline build Amit Kumar
2013-07-16 13:36 ` Stewart, David C
2013-07-16 13:40 ` Burton, Ross
2013-07-16 14:27 ` Lee_Ballard
2013-07-22 4:43 ` Amit Kumar
2013-07-22 14:19 ` Lee_Ballard
2013-07-23 6:41 ` Amit Kumar
2013-07-23 9:50 ` Paul Eggleton
2013-07-23 10:00 ` Amit Kumar
2013-07-23 10:27 ` Burton, Ross
2013-07-23 10:35 ` Paul Eggleton
2013-07-24 2:39 ` Amit Kumar
2013-07-24 12:48 ` FW: " Amit Kumar
2013-07-24 13:47 ` Gary Thomas [this message]
2013-07-24 16:35 ` Amit Kumar
2013-07-25 14:16 ` Amit Kumar
2013-07-25 16:51 ` Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51EFDAE9.7060805@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.