ia64/xen-unstable
changeset 2193:85100363043c
bitkeeper revision 1.1159.17.13 (411b0b36peqhPJFT111OsxoPfmLexQ)
updates to xen-clone script : build linux 2.6
updates to xen-clone script : build linux 2.6
author | iap10@labyrinth.cl.cam.ac.uk |
---|---|
date | Thu Aug 12 06:16:22 2004 +0000 (2004-08-12) |
parents | cad129c5e1d8 |
children | d67491ea6dcd |
files | tools/misc/xen-clone |
line diff
1.1 --- a/tools/misc/xen-clone Wed Aug 11 21:21:36 2004 +0000 1.2 +++ b/tools/misc/xen-clone Thu Aug 12 06:16:22 2004 +0000 1.3 @@ -17,7 +17,7 @@ UCCL) 1.4 *) 1.5 BK_REP=${1:-bk://xen.bkbits.net/xeno-1.0.bk} 1.6 # BK_REP=${1:-ssh://xen@xen.bkbits.net/xeno-1.0.bk} 1.7 - LINUX_DIR=${3:-..} 1.8 + LINUX_DIR=${3:-.:..} 1.9 ;; 1.10 esac 1.11 1.12 @@ -65,12 +65,7 @@ if [ -d ${DEST_BK_REP}/linux-2.4.*-xen-s 1.13 then 1.14 # this is a new style Xen repository so building is dead easy 1.15 1.16 - LINUX_VER=`( /bin/ls -ld ${DEST_BK_REP}/*linux-2.4.*-xen-sparse ) 2>/dev/null | sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!'` 1.17 - 1.18 - if [ -e ${LINUX_DIR}/linux-${LINUX_VER}.tar.gz ] 1.19 - then 1.20 - export LINUX_SRC=${LINUX_DIR}/linux-${LINUX_VER}.tar.gz 1.21 - fi 1.22 + export LINUX_SRC_PATH=${LINUX_DIR} 1.23 1.24 cd ${DEST_BK_REP} 1.25 ln -sf ../install install