That build is not building that recipe, because the recipe you've
attached has SRC_URI=a local file, but the log clearly shows it going
to github.

Assuming you're actually using the original version of the recipe and
not the edited version you sent, then the problem is that the recipe
has SRCREV=${AUTOREV}, which means "always go and get the latest
revision".  This is obviously incompatible with offline builds, so
you'll want to replace that with a specific SHA to build (as this is
an old kernel, the SHA of the branch will be sufficient).

Ross

On 16 July 2018 at 12:17, S, Karthikeyan <karthikeya...@trane.com> wrote:
> Hi Ross,
>     Sorry, I don’t have log file, I am attaching screenshot here and please 
> let me know how to get log files
>
>
> Thanks & Regards,
> Karthik S
>
>
>
> -----Original Message-----
> From: Burton, Ross [mailto:ross.bur...@intel.com]
> Sent: Monday, July 16, 2018 4:44 PM
> To: S, Karthikeyan <karthikeya...@trane.com>
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] Regarding build Yocto offline
>
> Logs, please.
>
> Ross
>
> On 16 July 2018 at 10:45, S, Karthikeyan <karthikeya...@trane.com> wrote:
>> 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.bur...@intel.com]
>> Sent: Monday, July 16, 2018 2:57 PM
>> To: S, Karthikeyan <karthikeya...@trane.com>
>> Cc: yocto@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 <karthikeya...@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.yoctoprojec
>>> t
>>> .org_wiki_How-5Fdo-5FI-23Q-3A-5FHow-5Fdo-5FI-5Fcreate-5Fmy-5Fown-5Fso
>>> u
>>> rce-5Fdownload-5Fmirror-5F.3F&d=DwIBaQ&c=RqOSY-j6o2m72bl3g1aM9A&r=YbS
>>> 5
>>> yltng6sM94fh7KTh4S4VmOewJypeQHV1NtdqqQc&m=P2cndFe0OX2zyu8XR1B5rdwBTlb
>>> c 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@yoctoproject.org
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproje
>>> c
>>> t.org_listinfo_yocto&d=DwIBaQ&c=RqOSY-j6o2m72bl3g1aM9A&r=YbS5yltng6sM
>>> 94fh7KTh4S4VmOewJypeQHV1NtdqqQc&m=P2cndFe0OX2zyu8XR1B5rdwBTlbcjdT4XVo
>>> t9clBO6Y&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.
>
> ________________________________
>
> 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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to