aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-umlrootfs
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-08-03 10:58:45 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-08-03 10:58:45 +0000
commit90b21fde11067943e930b8af694b6e9af1fb9c08 (patch)
tree2e9f32c46f8b0399094d5708f888607a547d8635 /testing/scripts/build-umlrootfs
parentd49cc7b3833da8ca6bce90fbd21bebdf47c3a670 (diff)
downloadstrongswan-90b21fde11067943e930b8af694b6e9af1fb9c08.tar.bz2
strongswan-90b21fde11067943e930b8af694b6e9af1fb9c08.tar.xz
use cgecho for green output
Diffstat (limited to 'testing/scripts/build-umlrootfs')
-rwxr-xr-xtesting/scripts/build-umlrootfs10
1 files changed, 4 insertions, 6 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs
index f839e3e8e..eff4fa0c2 100755
--- a/testing/scripts/build-umlrootfs
+++ b/testing/scripts/build-umlrootfs
@@ -57,7 +57,7 @@ if [ ! -f $LOGFILE ]
then
cecho-n " * Logfile '$LOGFILE' does not exist..creating.."
touch $LOGFILE
- cecho "done"
+ cgecho "done"
fi
ROOTFSDIR=$BUILDDIR/root-fs
@@ -66,7 +66,7 @@ if [ ! -d $ROOTFSDIR ]
then
cecho-n " * Root file system directory '$ROOTFSDIR' does not exist..creating.."
mkdir $ROOTFSDIR
- cecho "done"
+ cgecho "done"
fi
cd $ROOTFSDIR
@@ -87,7 +87,7 @@ dd if=/dev/zero of=gentoo-fs count=$ROOTFSSIZE bs=1M >> $LOGFILE 2>&1
mkreiserfs -q -f gentoo-fs >> $LOGFILE 2>&1
mount -o loop gentoo-fs $LOOPDIR >> $LOGFILE 2>&1
tar xjpf $ROOTFS -C $LOOPDIR >> $LOGFILE 2>&1
-cecho "done"
+cgecho "done"
######################################################
# remove /etc/resolv.conf
@@ -150,10 +150,8 @@ echo "ldconfig" >> $INSTALLSHELL
cecho-n " * Compiling $STRONGSWANVERSION within the root file system as chroot.."
chroot $LOOPDIR /bin/bash /install.sh >> $LOGFILE 2>&1
-cecho "done"
-
rm -f $INSTALLSHELL
-
+cgecho "done"
######################################################
# copying the host's ssh public key