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

[Xen-changelog] Update xen-clone script for hg. Still missing revision selection functionality.



Future patchbot messages will come directly to the list.

-------- Original Message --------
Subject: Update xen-clone script for hg. Still missing revision selection functionality.
Date: Thu, 30 Jun 2005 22:30:10 -0400
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Reply-To: xen-devel@xxxxxxxxxxxxxxxxxxx
To: James.Bulpin@xxxxxxxxxxxx

# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxxx
# Node ID 8041c2fa1cbc370d6d6fdac95196a7b6493c79f3
# Parent  f4768892d6dd00916e813f80840ca6a5df9c75de

Update xen-clone script for hg. Still missing revision selection functionality.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r f4768892d6dd -r 8041c2fa1cbc tools/misc/xen-clone
--- a/tools/misc/xen-clone      Fri Jul  1 01:28:45 2005
+++ b/tools/misc/xen-clone      Fri Jul  1 02:12:36 2005
@@ -1,6 +1,6 @@
 #!/bin/sh -x

-# usage: xen-clone bk_repository dest_dir orig_linux_dir
+# usage: xen-clone hg_repository dest_dir orig_linux_dir
 #
# this script contains some CL site specific details, but can easily be adapted
 #
@@ -10,22 +10,20 @@

 case "$SITE" in
 UCCL)
-       BK_REP=${1:-/usr/groups/xeno/BK/xeno.bk}
-       # BK_REP=${1:-xeno-master/xeno.bk}
+       BK_REP=${1:-http://hg.srg.cl.cam.ac.uk/xen-unstable.hg}
        LINUX_DIR=${3:-/usr/groups/xeno/archive/}
        ;;
 *)
-       BK_REP=${1:-bk://xen.bkbits.net/xeno-1.0.bk}
-       # BK_REP=${1:-ssh://xen@xxxxxxxxxxxxxx/xeno-1.0.bk}
+       BK_REP=${1:-http://xenbits.xensource.com/xen-unstable.hg}
        LINUX_DIR=${3:-.:..}
 ;;
 esac

 DEST_DIR=${2:-xeno-clone}
 DEST_BK_REP=`basename "${BK_REP}"`
-DEST_VER=`basename ${DEST_BK_REP} .bk`
+DEST_VER=`basename ${DEST_BK_REP} .hg`

-echo usage: xen-clone bk_repository dest_dir orig_linux_dir
+echo usage: xen-clone hg dest_dir orig_linux_dir
 echo Source BK Repository : ${BK_REP}
 echo Destination Dir/Repository : ${DEST_DIR}/${DEST_BK_REP}
 echo Pristine Linux Source directory : ${LINUX_DIR}
@@ -54,10 +52,10 @@
 # clone the master repository (now checked-out by default)
 if [ ! -d ${DEST_BK_REP} ]
 then
-bk clone ${BK_REP} ${DEST_BK_REP}
+mkdir -p ${DEST_BK_REP} ; cd ${DEST_BK_REP} ; hg init ${BK_REP} ${DEST_BK_REP} ; hg co ; cd ${TOP}
 else
 cd ${DEST_BK_REP}
-bk pull
+hg pull ; hg co
 cd ${TOP}
 fi

@@ -79,8 +77,8 @@
   ln -sf ../install install
  fi

- make -j4 world
- make -j4 linux24
+ make -j4 KERNELS=linux-* world
+ #make -j4 linux24
  cd ../install/boot
  if [ -r vmlinuz-2.6-xen0 ]
  then

_______________________________________________
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®.