xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Brendan Cully <brendan@cs.ubc.ca>
To: Jed Smith <jed@linode.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: [PATCH] Remus breaks the build
Date: Wed, 18 Aug 2010 13:39:12 -0700	[thread overview]
Message-ID: <20100818203912.GE2411@kremvax.cs.ubc.ca> (raw)
In-Reply-To: <840C91E9-A05F-49CE-B770-A96CCC65E975@linode.com>

On Wednesday, 18 August 2010 at 16:34, Jed Smith wrote:
> On Aug 18, 2010, at 4:26 PM, Brendan Cully wrote:
> 
> > On Friday, 13 August 2010 at 14:14, Jeremy Fitzhardinge wrote:
> >> On 08/13/2010 12:42 PM, Brendan Cully wrote:
> >>> I assume you're talking about this snippet of tools/remus/kmod/Makefile:
> >>> 
> >>> $(MAKE) -C $(KERNELDIR) SUBDIRS=`pwd` modules
> >>> 
> >>> which expects to find a Makefile in $KERNELDIR but does the actual
> >>> building in place, in the tools/remus/kmod directory (unless the
> >>> kernel build system has changed recently?). I thought this was a
> >>> pretty standard way to build out-of-tree kernel modules.
> >> 
> >> I don't ever build the kernel out of the Xen tree.  In general, it
> >> assumes the kernel tree has already been configured and built, which may
> >> not be true if you're doing a parallel build, or if you're building the
> >> Xen tree piecewise.
> >> 
> >>> I'm not sure why this is causing you problems (is it?), but if you're
> >>> willing to carry sch_queue in the pvops tree, I'd be happy to drop
> >>> tools/remus/kmod in the unstable tree.
> >> 
> >> Yes, I'm happy to include it.  Do you have a git reference I can merge from?
> > 
> > That's more git than I've learned. Would a patch suffice? (even
> > producing the diff was non-obvious. It turns out that git add foo; git
> > diff doesn't include the diff for foo!)
> 
> Because you staged it.  git-diff(1) works before you stage the changes.  You
> probably want to commit and use git-format-patch(1).
> 
> http://www.kernel.org/pub/software/scm/git/docs/git-format-patch.html

Not that it really matters (I was just sneaking in a rant, and I did
manage to produce the diff), but git diff also didn't include the new
file before I added it. It parts ways here with every other version
control system I can remember, not to mention intuition. But hey,
that's their problem.

  reply	other threads:[~2010-08-18 20:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13  0:38 [PATCH] Remus breaks the build Jeremy Fitzhardinge
2010-08-13 10:38 ` Ian Campbell
2010-08-13 11:55   ` Stefano Stabellini
2010-08-13 12:52     ` Ian Jackson
2010-08-13 19:44       ` Brendan Cully
2010-08-18 20:09         ` Brendan Cully
2010-08-13 19:42 ` Brendan Cully
2010-08-13 21:14   ` Jeremy Fitzhardinge
2010-08-14  4:25     ` Dulloor
2010-08-17 17:38       ` Brendan Cully
2010-08-18 13:40         ` Ian Jackson
2010-08-18 17:58           ` Brendan Cully
2010-08-19 14:38             ` Ian Jackson
2010-08-18 20:26     ` Brendan Cully
2010-08-18 20:34       ` Jed Smith
2010-08-18 20:39         ` Brendan Cully [this message]
2010-08-18 23:54       ` Jeremy Fitzhardinge
2010-08-19  0:03         ` Brendan Cully
2010-08-19  6:03           ` Pasi Kärkkäinen

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=20100818203912.GE2411@kremvax.cs.ubc.ca \
    --to=brendan@cs.ubc.ca \
    --cc=jed@linode.com \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).