All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Trevor Woerner <twoerner@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Problems fetching branch for linux-yocto-custom
Date: Wed, 12 Jun 2013 17:14:52 -0400	[thread overview]
Message-ID: <51B8E4CC.3060907@windriver.com> (raw)
In-Reply-To: <CAHUNapQeeSN2eD9jG4mmw8hXU1n_vip7gNJ1TPossrOeD==PRw@mail.gmail.com>

On 13-06-12 4:41 PM, Trevor Woerner wrote:
> On Wed, Jun 12, 2013 at 3:37 PM, Bryan Evenson <bevenson@melinkcorp.com> wrote:
>> # Added KBRANCH spec
>> KBRANCH = "linux-3.9-at91"
>>>> # Override SRC_URI in a bbappend file to point at a different source
>>> #
>>>> tree if you do not want to build from Linus' tree.
>>>> SRC_URI = "git://github.com/linux4sam/linux-at91.git;branch=linux-
>>> 3.9-
>>> at91;tag=dcdf169e24c0cb6d7dc69e0a09d2395934e95075;protocol=git;nochecko
>>> ut=1"
>>
>> # Changed SRC_URI to following
>> SRC_URI = "git://github.com/linux4sam/linux-at91.git;branch=${KBRANCH};protocol=git;nocheckout=1"
>
> It looks like all you did was to define the string "linux-3.9-at91" in
> its own variable, put that in your SRC_URI string, and remove the
> "tag=..." field. Would your original recipe have worked if all you did
> was remove the "tag=..." field?
>
> Is KBRANCH being used somewhere else? Doesn't bitbake's "git" fetcher
> already have a generic way of specifying a branch? Why would a kernel
> recipe need to also define a branch variable? Do non-kernel recipes
> also need to define some kind of branch variable too?

This is specific to the linux-yocto branch management. It is passed to
the configuration subsystem (and others) to properly prepare and process
the kernel.

It doesn't have anything to do with the fetcher.

Remember. linux-yocto is a set of standalone tools, mapped to bitbake
and yocto, so we are passing in what the tools need to work.

Cheers,

Bruce

> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



      parent reply	other threads:[~2013-06-12 21:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12 19:10 Problems fetching branch for linux-yocto-custom Bryan Evenson
2013-06-12 19:14 ` Bruce Ashfield
2013-06-12 19:37   ` Bryan Evenson
2013-06-12 19:44     ` Bruce Ashfield
2013-06-12 19:47       ` Bryan Evenson
2013-06-12 19:52         ` Bruce Ashfield
2013-06-12 20:41     ` Trevor Woerner
2013-06-12 20:54       ` Bryan Evenson
2013-06-12 21:16         ` Bruce Ashfield
2013-06-12 21:14       ` Bruce Ashfield [this message]

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=51B8E4CC.3060907@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=twoerner@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.