From d9f5596c50b72e29889dc4431e4846f3179e93c5 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 6 Apr 2006 03:06:22 +0000 Subject: [PATCH] - install in /plc instead of /usr/share/plc - don't bother installing node rpms; PlanetLab-Bootstrap.tar.bz2 should now be complete --- build.sh | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/build.sh b/build.sh index 39f13d4..a6e5130 100755 --- a/build.sh +++ b/build.sh @@ -31,9 +31,6 @@ config=plc_config.xml releasever=2 basearch=i386 -# Data directory base -usr_share=/usr/share - # Initial size of the image size=1000000000 @@ -43,14 +40,13 @@ usage() echo " -c file PLC configuration file (default: $config)" echo " -r release Fedora release number (default: $releasever)" echo " -a arch Fedora architecture (default: $basearch)" - echo " -d datadir Data directory base (default: $usr_share)" echo " -s size Approximate size of the installation (default: $size)" echo " -h This message" exit 1 } # Get options -while getopts "c:r:a:d:s:h" opt ; do +while getopts "c:r:a:s:h" opt ; do case $opt in c) config=$OPTARG @@ -61,9 +57,6 @@ while getopts "c:r:a:d:s:h" opt ; do a) basearch=$OPTARG ;; - d) - usr_share=$OPTARG - ;; s) size=$OPTARG ;; @@ -76,8 +69,8 @@ done # Do not tolerate errors set -e -root=fc$releasever -data=data$releasever +root=root +data=data if [ ! -f $root.img ] ; then bs=4096 @@ -225,24 +218,18 @@ fi # Write sysconfig cat >plc.sysconfig <