All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Xen-devel <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH] switch default kernel to 2.6.32 in	xen-4.0-testing.hg
Date: Thu, 12 Aug 2010 11:20:15 -0700	[thread overview]
Message-ID: <4C643B5F.8080308@goop.org> (raw)
In-Reply-To: <20100812162712.GR2804@reaktio.net>

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

  On 08/12/2010 09:27 AM, Pasi Kärkkäinen wrote:
> On Fri, Jul 30, 2010 at 11:34:36AM +0100, Keir Fraser wrote:
>> On 27/07/2010 07:51, "Jeremy Fitzhardinge"<jeremy@goop.org>  wrote:
>>
>>>    On 07/26/2010 11:46 PM, Keir Fraser wrote:
>>>> Done. I assume just changing the REMOTEBRANCH tag will work.
>>> Hm, perhaps.  I had to do that other git magic to make it work, and I'm
>>> guessing that didn't make it into 4.0-testing?  I'll check tomorrow...
>> Actually I just noticed that I omitted to push the changeset that changes
>> the REMOTEBRANCH tag. Since you're not totally sure it will work anyway
>> without other adjustments, please test and send a complete working patch for
>> 4.0-testing, and I'll then check it in.
>>
> I'm still nagging about this so we get it proper for Xen 4.0.1 release :)

OK, here's three patches.  The first two update the git pull stuff and 
the kernel to stable-2.6.32.x for the Xen 4.0 branch.  The third fixes a 
shell syntax thingy that should be applied to xen-4 and to unstable.

Thanks,
     J


[-- Attachment #2: update-git-pull --]
[-- Type: text/plain, Size: 1389 bytes --]

Update git pull machinery

This is needed to pull a non-default branch, and to allow the test
infrastructure's bisection machinery to work.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

diff -r 8e8dd38374e9 buildconfigs/src.git-clone
--- a/buildconfigs/src.git-clone	Wed Aug 11 16:44:03 2010 +0100
+++ b/buildconfigs/src.git-clone	Thu Aug 12 10:42:45 2010 -0700
@@ -13,19 +13,20 @@
 .ERROR: XEN_LINUX_GIT_REMOTEBRANCH not specified
 endif
 
-XEN_LINUX_GIT_LOCALBRANCH ?= master
+XEN_GIT_ORIGIN ?= xen
+
+XEN_LINUX_GIT_LOCALBRANCH ?= $(XEN_LINUX_GIT_REMOTEBRANCH)
 
 # Set XEN_LINUX_GITREV to update to a particlar revision.
-XEN_LINUX_GITREV  ?= 
+XEN_LINUX_GITREV  ?= $(XEN_GIT_ORIGIN)/$(XEN_LINUX_GIT_REMOTEBRANCH)
 
 $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE)
 	set -ex; \
 	if ! [ -d $(LINUX_SRCDIR) ]; then \
 		rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \
 		mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \
-		$(GIT) clone $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \
-		cd $(LINUX_SRCDIR).tmp; \
-		$(GIT) checkout $(XEN_LINUX_GIT_REMOTEBRANCH); \
-		cd ..; mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \
+		$(GIT) clone -o $(XEN_GIT_ORIGIN) -n $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \
+		(cd $(LINUX_SRCDIR).tmp; git checkout -b $(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \
+		mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \
 	fi
 	touch $@

[-- Attachment #3: update-default-kernel --]
[-- Type: text/plain, Size: 523 bytes --]

Update default kernel to 2.6.32.x

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

diff -r 8e8dd38374e9 buildconfigs/mk.linux-2.6-pvops
--- a/buildconfigs/mk.linux-2.6-pvops	Wed Aug 11 16:44:03 2010 +0100
+++ b/buildconfigs/mk.linux-2.6-pvops	Thu Aug 12 10:42:45 2010 -0700
@@ -10,7 +10,7 @@
 else
 XEN_LINUX_GIT_URL ?= git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
 endif
-XEN_LINUX_GIT_REMOTEBRANCH ?= xen/master
+XEN_LINUX_GIT_REMOTEBRANCH ?= xen/stable-2.6.32.x
 
 EXTRAVERSION ?=
 

[-- Attachment #4: fix-config-quoting --]
[-- Type: text/plain, Size: 910 bytes --]

Fix quoting error

Prevent shell syntax error if $(XEN_LINUX_CONFIG) is empty.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

diff -r 650fc0e08631 -r 80125f40a748 buildconfigs/mk.linux-2.6-common
--- a/buildconfigs/mk.linux-2.6-common	Thu Aug 12 10:42:46 2010 -0700
+++ b/buildconfigs/mk.linux-2.6-common	Thu Aug 12 11:11:10 2010 -0700
@@ -75,7 +75,7 @@
 	# tree. Finally attempt to use make defconfig.
 	set -e ; \
 	CONFIG_VERSION=$$(sed -ne 's/$$(XENGUEST)//; s/^EXTRAVERSION = //p' $(LINUX_SRCDIR)/Makefile); \
-	if [ ! -z "$(XEN_LINUX_CONFIG)" -a -r $(XEN_LINUX_CONFIG) ]; then \
+	if [ ! -z "$(XEN_LINUX_CONFIG)" -a -r "$(XEN_LINUX_CONFIG)" ]; then \
 	  cp $(XEN_LINUX_CONFIG) $(CONFIG_FILE); \
 	elif [ -r $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
 	  cp $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) $(CONFIG_FILE) ; \

[-- Attachment #5: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-17 13:25 [PATCH] switch default kernel to 2.6.32 Jeremy Fitzhardinge
2010-07-20 10:08 ` Pasi Kärkkäinen
2010-07-27  3:06   ` Jeremy Fitzhardinge
2010-07-27  6:46     ` Keir Fraser
2010-07-27  6:51       ` Jeremy Fitzhardinge
2010-07-27  7:05         ` Keir Fraser
2010-07-30 10:34         ` Keir Fraser
2010-08-12 16:27           ` [PATCH] switch default kernel to 2.6.32 in xen-4.0-testing.hg Pasi Kärkkäinen
2010-08-12 18:20             ` Jeremy Fitzhardinge [this message]
2010-08-13 12:51               ` Ian Jackson
2010-08-13 18:16                 ` Jeremy Fitzhardinge

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=4C643B5F.8080308@goop.org \
    --to=jeremy@goop.org \
    --cc=keir.fraser@eu.citrix.com \
    --cc=pasik@iki.fi \
    --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 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.