diff options
author | kris <kris@FreeBSD.org> | 2002-02-11 11:06:03 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-02-11 11:06:03 +0800 |
commit | 9a02e3cad925c6a09bbf822b4ab87349d5cdd274 (patch) | |
tree | 914bf1196a0f2995accf5af5bb63f39f04f42bce /Tools | |
parent | 4bd777e613fe76379fe30ea2731ca11d0c1de36a (diff) | |
download | freebsd-ports-gnome-9a02e3cad925c6a09bbf822b4ab87349d5cdd274.tar.gz freebsd-ports-gnome-9a02e3cad925c6a09bbf822b4ab87349d5cdd274.tar.zst freebsd-ports-gnome-9a02e3cad925c6a09bbf822b4ab87349d5cdd274.zip |
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 :)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/setupnode | 7 |
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 |