ia64/xen-unstable

changeset 2834:60b89851a69a

bitkeeper revision 1.1159.151.1 (418803bcQsPRkzzuqVsajF6mgmahFw)

Update xen-clone to cope with the new install tar ball
author iap10@labyrinth.cl.cam.ac.uk
date Tue Nov 02 22:01:32 2004 +0000 (2004-11-02)
parents d60426da6f4c
children 1d9a2272f6e2
files tools/misc/xen-clone
line diff
     1.1 --- a/tools/misc/xen-clone	Mon Nov 01 19:34:24 2004 +0000
     1.2 +++ b/tools/misc/xen-clone	Tue Nov 02 22:01:32 2004 +0000
     1.3 @@ -23,6 +23,7 @@ esac
     1.4  
     1.5  DEST_DIR=${2:-xeno-clone}
     1.6  DEST_BK_REP=`basename "${BK_REP}"`
     1.7 +DEST_VER=`basename ${DEST_BK_REP} .bk`
     1.8  
     1.9  echo usage: xen-clone bk_repository dest_dir orig_linux_dir
    1.10  echo Source BK Repository : ${BK_REP}
    1.11 @@ -37,6 +38,8 @@ TOP=`/bin/pwd`
    1.12  case "$SITE" in
    1.13  UCCL)
    1.14  	PATH=$PATH:/usr/groups/xeno/build_tools/bin
    1.15 +	mkdir ${DEST_VER}-install
    1.16 +	ln -s ${DEST_VER}-install install
    1.17  	mkdir -p install/boot
    1.18  	cd install/boot
    1.19  	ln -sf ../../../xeno-roots/roots .