Better guess at the size of bin CD 1

This commit is contained in:
Ben Collins 2000-05-22 13:09:59 +00:00
parent 91d21101ac
commit 3855489bec
2 changed files with 8 additions and 3 deletions

View File

@ -6,5 +6,7 @@ set -e
make distclean
make ${CODENAME}_status
make mirrorcheck
make list COMPLETE=1 SIZELIMIT1=$((529 * 1024 * 1024)) SRCSIZELIMIT=$((635 * 1024 * 1024))
make official_images
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
awk '{print $1}'`
make list COMPLETE=1 SIZELIMIT1=$(((630 - ${disks}) * 1024 * 1024)) SRCSIZELIMIT=$((635 * 1024 * 1024))
make bin-official_images

View File

@ -18,7 +18,10 @@ do
exit 1
fi
echo " ... selecting packages to include"
make list COMPLETE=1 SIZELIMIT1=$((529 * 1024 *1024)) SRCSIZELIMIT=$((635 * 1024 * 1024))
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
awk '{print $1}'`
make list COMPLETE=1 SIZELIMIT1=$(((630 - ${disks}) * 1024 *1024)) \
SRCSIZELIMIT=$((635 * 1024 * 1024))
echo " ... building the images"
if [ "$ARCH" = "i386" ]; then
make official_images