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-changelog

[Xen-changelog] update xen-clone (nightly build script) to cope with tre

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] update xen-clone (nightly build script) to cope with trees with new kernel symlinks
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Sun, 15 May 2005 05:27:55 +0000
Delivery-date: Mon, 16 May 2005 08:04:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.258.127, 2005/05/15 06:27:55+01:00, iap10@xxxxxxxxxxxxxxxxxxxxx

        update xen-clone (nightly build script) to cope with trees with new 
kernel symlinks



 xen-clone |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


diff -Nru a/tools/misc/xen-clone b/tools/misc/xen-clone
--- a/tools/misc/xen-clone      2005-05-16 04:05:25 -04:00
+++ b/tools/misc/xen-clone      2005-05-16 04:05:25 -04:00
@@ -82,8 +82,14 @@
  make -j4 world
  make -j4 linux24
  cd ../install/boot
- [ -r vmlinuz-2.6.*-xen0 ] && ln -s vmlinuz-2.6.*-xen0 xenolinux.gz
-  
+ if [ -r vmlinuz-2.6-xen0 ]
+ then
+  ln -s vmlinuz-2.6-xen0 xenolinux.gz
+ else
+  kern=`ls vmlinuz-2.6.*-xen0 | head -1`
+  [ -r "$kern" ] && ln -s "$kern" xenolinux.gz
+ fi  
+
 else
  # old style repository without 'make world'
 

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

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