Drop SHAREDTREE in favor of mounting the compile dir

This commit is contained in:
Tobias Brunner
2013-01-17 15:22:08 +01:00
parent 633bee03fc
commit b460fb1dd2
2 changed files with 4 additions and 15 deletions
+4 -10
View File
@@ -59,16 +59,6 @@ mount -o loop $BASE $LOOPDIR >> $LOGFILE 2>&1
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'
#
@@ -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
#