A suggestion, Fork the wanted kernel tree and add a .bbappend at a custom layer. This way you can follow forked kernel updates and keep poky recipes clean.
If you insist to keep things local, maybe this helps: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#local-projects Regards, - dhs 2015-11-27 4:55 GMT-02:00 Deepika Teriar <deepter...@gmail.com>: > 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, > attempting MIRRORS if available > WARNING: 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 available > ERROR: 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 unexpectedly > > ERROR: 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.26206 > ERROR: Task 75 > (/home/deepika/bbb/poky/meta/recipes-kernel/linux/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.ashfi...@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=${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 >>> >>> >>> >>> >> > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- "Do or do not. There is no try" Yoda Master -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto