aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2004-11-02 22:01:32 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2004-11-02 22:01:32 +0000
commit3910bfff7f6fb22cd747b10db846cd75211ad64a (patch)
tree439f232b496bc900336ee68098b253aa9386655b
parentce404f149a2865f4f8da96578979fa47b7209462 (diff)
downloadxen-3910bfff7f6fb22cd747b10db846cd75211ad64a.tar.gz
xen-3910bfff7f6fb22cd747b10db846cd75211ad64a.tar.bz2
xen-3910bfff7f6fb22cd747b10db846cd75211ad64a.zip
bitkeeper revision 1.1159.151.1 (418803bcQsPRkzzuqVsajF6mgmahFw)
Update xen-clone to cope with the new install tar ball
-rwxr-xr-xtools/misc/xen-clone3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/misc/xen-clone b/tools/misc/xen-clone
index 63fccb841d..e79ff04a87 100755
--- a/tools/misc/xen-clone
+++ b/tools/misc/xen-clone
@@ -23,6 +23,7 @@ esac
DEST_DIR=${2:-xeno-clone}
DEST_BK_REP=`basename "${BK_REP}"`
+DEST_VER=`basename ${DEST_BK_REP} .bk`
echo usage: xen-clone bk_repository dest_dir orig_linux_dir
echo Source BK Repository : ${BK_REP}
@@ -37,6 +38,8 @@ TOP=`/bin/pwd`
case "$SITE" in
UCCL)
PATH=$PATH:/usr/groups/xeno/build_tools/bin
+ mkdir ${DEST_VER}-install
+ ln -s ${DEST_VER}-install install
mkdir -p install/boot
cd install/boot
ln -sf ../../../xeno-roots/roots .