diff options
author | iap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk> | 2005-05-15 05:27:55 +0000 |
---|---|---|
committer | iap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk> | 2005-05-15 05:27:55 +0000 |
commit | 81f16c9023a6bfecd55bcbb6a7e4912b3681e908 (patch) | |
tree | 9f2a61996eaef7d32872470156a19af5a2c8f246 | |
parent | c619da25a21bed47e4fa08ae840468468543cad5 (diff) | |
download | xen-81f16c9023a6bfecd55bcbb6a7e4912b3681e908.tar.gz xen-81f16c9023a6bfecd55bcbb6a7e4912b3681e908.tar.bz2 xen-81f16c9023a6bfecd55bcbb6a7e4912b3681e908.zip |
bitkeeper revision 1.1159.258.127 (4286dddb-5dYH1S3phGceqJNfCfQbg)
update xen-clone (nightly build script) to cope with trees with new kernel symlinks
-rwxr-xr-x | tools/misc/xen-clone | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone index 3fac8109f1..f509da73bf 100755 --- a/tools/misc/xen-clone +++ b/tools/misc/xen-clone @@ -82,8 +82,14 @@ then 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' |