aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-11-28 16:10:22 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 15:22:08 +0100
commitb460fb1dd29b69917f934e267eff760040c34680 (patch)
tree00741dab86bd45f9fc5527f14dbd9a31caae6b0d /testing/scripts
parent633bee03fcd05908eeff138a77a8970505579032 (diff)
downloadstrongswan-b460fb1dd29b69917f934e267eff760040c34680.tar.bz2
strongswan-b460fb1dd29b69917f934e267eff760040c34680.tar.xz
Drop SHAREDTREE in favor of mounting the compile dir
Diffstat (limited to 'testing/scripts')
-rwxr-xr-xtesting/scripts/build-umlrootfs14
1 files changed, 4 insertions, 10 deletions
diff --git a/testing/scripts/build-umlrootfs b/testing/scripts/build-umlrootfs
index d3395c872..f321463db 100755
--- a/testing/scripts/build-umlrootfs
+++ b/testing/scripts/build-umlrootfs
@@ -60,16 +60,6 @@ mount -t proc none $LOOPDIR/proc >> $LOGFILE 2>&1
cgecho "done"
######################################################
-# 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
-
-######################################################
# install software from source using 'recipes'
#
mkdir -p $ROOTFSCOMPILEDIR
@@ -95,6 +85,10 @@ done
umount $LOOPDIR/root/compile
+cecho " * Setting up shared build tree at /root/compile"
+echo "" >> $LOOPDIR/etc/fstab
+echo "none /root/compile hostfs $ROOTFSCOMPILEDIR" >> $LOOPDIR/etc/fstab
+
######################################################
# remove /etc/resolv.conf
#