summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-02-11 03:06:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-02-11 03:06:03 +0000
commit177f0f70122119981d68e21fcc2644a7b952916b (patch)
treea8ade05e8a86f32f4d06e6bfa6aa15a82fd66848 /Tools
parentCatch up to changes on bento: (diff)
Catch up to changes on bento:
* Add some commented out stuff which tries to mount/unmount something. No idea why, but it's commented out so it's harmless :)
Notes
Notes: svn path=/head/; revision=54523
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/setupnode7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/setupnode b/Tools/portbuild/scripts/setupnode
index 307bb3ec9f59..5c72e49e117c 100755
--- a/Tools/portbuild/scripts/setupnode
+++ b/Tools/portbuild/scripts/setupnode
@@ -12,6 +12,11 @@ if [ $(echo $(/sbin/mount | grep "$2/.*read-only" | awk '{print $3}' | wc -c)) !
/sbin/umount -f $(/sbin/mount | grep "$2/.*read-only" | awk '{print $3}')
fi
+#cd $2
+#fs=$(df . | sed -e '1d' | awk '{print $6}')
+
+#mount -u -w $fs
+
if ! rm -rf $2/*/chroot/* >/dev/null 2>&1; then
chflags -R noschg $2/*/chroot/*
rm -rf $2/*/chroot/*
@@ -32,3 +37,5 @@ if [ "$nocopy" = 0 ]; then
scp -p $1:$2/$3/tarballs/bindist.tar $2/$3/tarballs
fi
fi
+
+#mount -u -r $fs