Hi Ross,
From your reply and from the below link "
https://wiki.yoctoproject.org/wiki/How_do_I#Non-networked_Builds_and_Cached_Git_Respositories;
I may have to change something in SRC_URI and SRC_REV variable and this will
work I guess, Please let me know what exactly I have to do. Thanks for
supporting this issue.
Thanks,
Karthik
-Original Message-
From: Burton, Ross [mailto:ross.bur...@intel.com]
Sent: Monday, July 16, 2018 4:55 PM
To: S, Karthikeyan
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Regarding build Yocto offline
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 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
> Cc: yocto@yoctoproject.org
> Subject: Re: [yocto] Regarding build Yocto offline
>
> Logs, please.
>
> Ross
>
> On 16 July 2018 at 10:45, S, Karthikeyan 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
>> 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 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.yoctoproje
>>> c
>>> t
>>> .org_wiki_How-5Fdo-5FI-23Q-3A-5FHow-5Fdo-5FI-5Fcreate-5Fmy-5Fown-5Fs
>>> o
>>> u
>>> rce-5Fdownload-5Fmirror-5F.3F=DwIBaQ=RqOSY-j6o2m72bl3g1aM9A=Yb
>>> S
>>> 5
>>> yltng6sM94fh7KTh4S4VmOewJypeQHV1NtdqqQc=P2cndFe0OX2zyu8XR1B5rdwBTl
>>> b c jdT4XVot9clBO6Y=25mwi0Mp0X78CdeZtKoVzQ0BeTqLR-q4tn1K0xZcpaU=
>>>
>>> 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.yoctoproj
>>> e
>>> c
>>> t.org_listinfo_yocto=DwIBaQ=RqOSY-j6o2m72bl3g1aM9A=YbS5yltng6s
>>> M
>>> 94fh7KTh4S4VmOewJypeQHV1NtdqqQc=P2cndFe0OX2zyu8XR1B5rdwBTlbcjdT4XV
>>> o t9clBO6Y=u-a0sJKO7HiDC_SADTXL06S-qN7DPan-UYMsYULz_T0=
>>>
>>
>>
>>
>> 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