diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-04-04 05:29:20 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-04-04 05:29:20 +0000 |
commit | e47a7a131d2e0b2245497ac47e57bb3940ed6015 (patch) | |
tree | 4600ce20e6152fb1834f56d4b198af7d5e3106f0 | |
parent | c056d929b2fdb3782c35c59074b0f7c9517b1aa8 (diff) | |
download | strongswan-e47a7a131d2e0b2245497ac47e57bb3940ed6015.tar.bz2 strongswan-e47a7a131d2e0b2245497ac47e57bb3940ed6015.tar.xz |
reinsert SHAREDTREE
-rwxr-xr-x | testing/scripts/build-umlrootfs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs index 68a990d35..f839e3e8e 100755 --- a/testing/scripts/build-umlrootfs +++ b/testing/scripts/build-umlrootfs @@ -108,6 +108,16 @@ cecho " * Extracting strongSwan into the root filesystem" tar xjf $STRONGSWAN -C $LOOPDIR/root >> $LOGFILE 2>&1 ###################################################### +# setting up mountpoint for shared source tree +# +if [ "${SHAREDTREE+set}" = "set" ]; then + cecho " * setting up shared strongswan tree at '$SHAREDTREE'" + mkdir $LOOPDIR/root/strongswan-shared + echo "" >> $LOOPDIR/etc/fstab + echo "none /root/strongswan-shared hostfs $SHAREDTREE" >> $LOOPDIR/etc/fstab +fi + +###################################################### # installing strongSwan and setting the local timezone # @@ -142,6 +152,9 @@ 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 + + ###################################################### # copying the host's ssh public key # |