WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Sparse tree merge-up script

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] Sparse tree merge-up script
From: Aron Griffis <aron@xxxxxx>
Date: Tue, 16 May 2006 13:43:52 -0400
Delivery-date: Tue, 16 May 2006 10:44:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060516170123.GB30159@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, Alex Williamson <alex.williamson@xxxxxx>
References: <1147796367.19852.117.camel@localhost> <20060516170123.GB30159@xxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
Here's a follow-on patch which fetches OLDTAG and NEWTAG
automatically, if they aren't specified on the cmdline.  This replaces
the hardcoded v2.6.16 and v2.6.16.13 which were destined to be
useless.

--- sparse-merge.agriffis       2006-05-16 13:28:46.000000000 -0400
+++ sparse-merge        2006-05-16 13:35:44.000000000 -0400
@@ -6,9 +6,10 @@
 #          will lose data if there's anything there you care about.
 : ${LINUXPATH:=/tmp/linux-2.6}
 # Tag of current base upstream image for Xen files
-: ${OLDTAG:=v2.6.16}
+: ${OLDTAG:=v$(awk '/^LINUX_VER/{print $NF}' buildconfigs/mk.linux-2.6-xen)}
 # Tag of new upstream base to go to
-: ${NEWTAG:=v2.6.16.13}
+: ${NEWTAG:=v$(wget -O- -o/dev/null http://kernel.org/kdist/finger_banner \
+    | awk '/latest stable/{print $NF}')}
 
 SPARSEDIR=linux-2.6-xen-sparse
 

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

<Prev in Thread] Current Thread [Next in Thread>