All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollis_blanchard@mentor.com>
To: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: trouble using a local kernel repo
Date: Thu, 16 Feb 2012 15:52:27 -0800	[thread overview]
Message-ID: <4F3D96BB.40503@mentor.com> (raw)
In-Reply-To: <4F3D905D.9030903@windriver.com>

On 02/16/2012 03:25 PM, Bruce Ashfield wrote:
> The point is that the tree is local to your machine, but it doesn't
> have to be. You may only have push, not direct commit access. It's
> really not asking for anything that isn't already common practice.

Hmm, I'm not at all a git expert, but I thought common practice was to 
clone the upstream git tree, then create local branches that track the 
upstream ones. I've never seen any directions say "first create a bare 
clone, then clone that again, then create local branches."

>> I'm just trying to test a small kernel/meta patch, and the poorly
>> documented list of setup requirements is growing longer and longer. All
>> this stuff may be good practice for a more complicated scenario, but so
>> far it seems like enormous overkill for my use case...
>
> So why are you trying to use the technique ? Maybe the answer is that the
> docs made it sound like this was the best/right way .. and that's a
> problem in itself.

The docs don't cover "how do I add a kernel patch?" at all, AFAICS.

... oh wow, now I see 
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html. 
This actually does talk about bare clones. 
http://www.yoctoproject.org/docs/current/kernel-manual/kernel-manual.html, 
which is what I had been reading, does not.

> If you do have a single patch, toss it on the end of the SRC_URI and
> everything just works like any other package.

The reason I'm even bothering is to try to be a good person. I could 
have stuck this in a private collection 2 days ago... but I figured this 
is going to bite plenty of other people, so I should try to submit a 
patch that would fix it for everybody. I could tell the kernel 
configuration system is complicated, but I really didn't expect this 
many barriers.

Hollis Blanchard
Mentor Graphics, Embedded Systems Division



  reply	other threads:[~2012-02-16 23:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-16 20:16 trouble using a local kernel repo Hollis Blanchard
2012-02-16 21:22 ` McClintock Matthew-B29882
2012-02-16 21:33   ` Hollis Blanchard
2012-02-16 21:43     ` McClintock Matthew-B29882
2012-02-16 22:06       ` Hollis Blanchard
2012-02-16 22:14         ` Bruce Ashfield
2012-02-16 22:11 ` Bruce Ashfield
2012-02-16 22:50   ` Hollis Blanchard
2012-02-16 23:02     ` Bruce Ashfield
2012-02-16 23:18       ` Hollis Blanchard
2012-02-16 23:25         ` Bruce Ashfield
2012-02-16 23:52           ` Hollis Blanchard [this message]
2012-02-17  0:13             ` Bruce Ashfield
2012-02-17 16:45       ` Hollis Blanchard
2012-02-17 19:56         ` Bruce Ashfield

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=4F3D96BB.40503@mentor.com \
    --to=hollis_blanchard@mentor.com \
    --cc=bruce.ashfield@windriver.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.