aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-03-15 21:46:49 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-03-15 21:46:49 +0000
commitdfc4c0a7ce9709d1fd4713f0e3868fdff37bb8ec (patch)
treebb89f2df19e8664183cff93234985016d9441fec /Tools
parent47174a3c8c664714984859fb37fcfd30dcab3e03 (diff)
downloadports-dfc4c0a7ce9709d1fd4713f0e3868fdff37bb8ec.tar.gz
ports-dfc4c0a7ce9709d1fd4713f0e3868fdff37bb8ec.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/checksize.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/checksize.sh b/Tools/scripts/checksize.sh
index 43dd7a6cfb87..b86daf7ab7ca 100755
--- a/Tools/scripts/checksize.sh
+++ b/Tools/scripts/checksize.sh
@@ -13,7 +13,6 @@
# mdconfig -a -t vnode -f /usr/ports/mfs.img -u 1
# newfs /dev/md1
# mount /dev/md1 /mnt
-# dd if=/dev/zero of=/mnt/zero
#
# (for RELENG_4 use vnconfig instead of mdconfig). Then run this
# while logging with, for example, the "script" utility and look
@@ -50,6 +49,7 @@ for category in $1 `grep ^SUBDIR /usr/ports/Makefile | cut -f3 -d\ `; do
`grep -wc SIZE */distinfo* | grep -v :0 | cut -f1 -d\/`; do
cd /usr/ports/$category/$port
for arc in i386; do
+ dd if=/dev/zero of=/mnt/zero
echo checking $arc size data for $category/$port
make DISTDIR=/mnt \
ARCH=$arc \
@@ -57,6 +57,7 @@ for category in $1 `grep ^SUBDIR /usr/ports/Makefile | cut -f3 -d\ `; do
MACHINE_ARCH=$arc \
PACKAGE_BUILDING=yes \
TRYBROKEN=yes checksum
+ rm -rf /mnt/*
done
done
done