mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fill /mnt/ before each port and clear it afterward, to avoid running
out of inodes.
This commit is contained in:
parent
47174a3c8c
commit
dfc4c0a7ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104116
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue