All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Deepika Teriar <deepteriar@gmail.com>, <yocto@yoctoproject.org>
Subject: Re: Copying the kernel in the poky directory
Date: Thu, 26 Nov 2015 08:41:22 -0500	[thread overview]
Message-ID: <56570C02.4050709@windriver.com> (raw)
In-Reply-To: <CAM_pFj_cwoDAC30cBcPB1besMJwZuO=mh6E4-n8Q5=5=2j_VWg@mail.gmail.com>

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
>
>
>
>



  reply	other threads:[~2015-11-26 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26  7:39 Copying the kernel in the poky directory Deepika Teriar
2015-11-26 13:41 ` Bruce Ashfield [this message]
2015-11-27  6:55   ` Deepika Teriar
2015-11-27 19:54     ` Daniel.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56570C02.4050709@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=deepteriar@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.