[yocto] Copying the kernel in the poky directory

Deepika Teriar deepteriar at gmail.com
Thu Nov 26 22:55:15 PST 2015


Hi Bruce

It was not successful. Its giving me a fetcher failure.














*WARNING: Failed to fetch URL
ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz
<ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz>,
attempting MIRRORS if availableWARNING: Failed to fetch URL
git:///home/deepika/bbb/poky/kernel-3.14.29;protocol=file;bareclone=1;branch=standard/common-pc/base,meta;name=machine,meta,
attempting MIRRORS if availableERROR: Fetcher failure: Fetch command failed
with exit code 128, output:Cloning into bare repository
'/home/deepika/bbb/poky/build/downloads/git2/.home.deepika.bbb.poky.kernel-3.14.29'...error:
object directory
/home/deepika/bbb/poky/build/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git/objects
does not exist; check .git/objects/info/alternates.fatal: git upload-pack:
cannot find object dbe5b52e93ff114b2c0f5da6f6af91f52c18f2b8:fatal: The
remote end hung up unexpectedlyERROR: Function failed: Fetcher failure for
URL:
'git:///home/deepika/bbb/poky/kernel-3.14.29;protocol=file;bareclone=1;branch=standard/common-pc/base,meta;name=machine,meta'.
Unable to fetch URL from any source.ERROR: Logfile of failure stored in:
/home/deepika/bbb/poky/build/tmp/work/qemux86-poky-linux/linux-yocto/3.14.29+gitAUTOINC+6eddbf4787_f6aa7aaca8-r0/temp/log.do_fetch.26206ERROR:
Task 75
(/home/deepika/bbb/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb
<http://linux-yocto_3.14.bb>, do_fetch) failed with exit code '1'*
Can anyone help


On Thu, Nov 26, 2015 at 7:11 PM, Bruce Ashfield <
bruce.ashfield at windriver.com> wrote:

> On 15-11-26 02:39 AM, Deepika Teriar wrote:
>
>> Hi
>>
>> I am customizing yocto for beaglebone black
>> I do not want my kernel to get downloaded from the git after I clean the
>> build directory. So i have kept the linux-kernel directory with the name
>> kernel-3.14.29 in the poky directory.
>> And in the linux-yocto_3.14.bb <http://linux-yocto_3.14.bb> file i have
>> changed SRC_URI *from:*
>>
>> SRC_URI =
>> "git://
>> git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta
>> <http://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=$%7BKBRANCH%7D,$%7BKMETA%7D;name=machine,meta>
>> <
>> http://git.yoctoproject.org/linux-yocto-3.14.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta
>> >"
>>
>> *to :*
>>
>> SRC_URI = "file://${COREBASE}/kernel-3.14.29"
>>
>> On compiling core-image-minimal I am getting the following error
>> *
>> ERROR: ExpansionError during parsing
>> /home/deepika/bbb/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb
>> <http://linux-yocto_3.14.bb>: Failure expanding variable do_patch:
>> ExpansionError: Failure expanding variable SRCPV, expression was
>> ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError:
>> Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
>>
>> *
>> Can any one tell me the error?
>>
>
> You still need the git protocol, the fetcher can't determine what to
> do with the SRCREV.
>
> Try:
>
> SRC_URI =
> "git://${COREBASE}/kernel-3.14.29;protocol=file;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
>
> Bruce
>
>
>> Thanks
>> Deepika
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151127/6e7aac41/attachment.html>


More information about the yocto mailing list