[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.