[yocto] Regarding build Yocto offline

S, Karthikeyan Karthikeyan.S at trane.com
Mon Jul 16 02:45:58 PDT 2018


Hi,
   Thanks a lot for responding my message even in your busy schedule. As for recipe, it was linux. When I was trying to build entire image "core-image-base", it was failed with "linux kernel recipe". Please find attached linux kernel bb files, all other remaining packages were built successfully.

Thanks,
Karthik

-----Original Message-----
From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: Monday, July 16, 2018 2:57 PM
To: S, Karthikeyan <Karthikeyan.S at trane.com>
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Regarding build Yocto offline

What recipe is failing?  It's most likely to be a recipe which is using a git tag instead of a git hash in the SRCREV.

Ross

On 13 July 2018 at 09:58, S, Karthikeyan <Karthikeyan.S at trane.com> wrote:
> 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
> https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.yoctoproject
> .org_wiki_How-5Fdo-5FI-23Q-3A-5FHow-5Fdo-5FI-5Fcreate-5Fmy-5Fown-5Fsou
> rce-5Fdownload-5Fmirror-5F.3F&d=DwIBaQ&c=RqOSY-j6o2m72bl3g1aM9A&r=YbS5
> yltng6sM94fh7KTh4S4VmOewJypeQHV1NtdqqQc&m=P2cndFe0OX2zyu8XR1B5rdwBTlbc
> jdT4XVot9clBO6Y&s=25mwi0Mp0X78CdeZtKoVzQ0BeTqLR-q4tn1K0xZcpaU&e=
>
> 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.
>
>
>
>
>
> Thanks & Regards,
>
> Karthik S
>
>
>
>
> ________________________________
>
> The information contained in this message is privileged and intended
> only for the recipients named. If the reader is not a representative
> of the intended recipient, any review, dissemination or copying of
> this message or the information it contains is prohibited. If you have
> received this message in error, please immediately notify the sender,
> and delete the original message and attachments.
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoprojec
> t.org_listinfo_yocto&d=DwIBaQ&c=RqOSY-j6o2m72bl3g1aM9A&r=YbS5yltng6sM94fh7KTh4S4VmOewJypeQHV1NtdqqQc&m=P2cndFe0OX2zyu8XR1B5rdwBTlbcjdT4XVot9clBO6Y&s=u-a0sJKO7HiDC_SADTXL06S-qN7DPan-UYMsYULz_T0&e=
>

________________________________

The information contained in this message is privileged and intended only for the recipients named. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-dey.inc
Type: application/octet-stream
Size: 2604 bytes
Desc: linux-dey.inc
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180716/c5f65277/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-dey_4.9.bb
Type: application/octet-stream
Size: 242 bytes
Desc: linux-dey_4.9.bb
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180716/c5f65277/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: local.conf
Type: application/octet-stream
Size: 10653 bytes
Desc: local.conf
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180716/c5f65277/attachment-0005.obj>


More information about the yocto mailing list