Better guess at the size of bin CD 1
This commit is contained in:
parent
91d21101ac
commit
3855489bec
6
build.sh
6
build.sh
|
@ -6,5 +6,7 @@ set -e
|
||||||
make distclean
|
make distclean
|
||||||
make ${CODENAME}_status
|
make ${CODENAME}_status
|
||||||
make mirrorcheck
|
make mirrorcheck
|
||||||
make list COMPLETE=1 SIZELIMIT1=$((529 * 1024 * 1024)) SRCSIZELIMIT=$((635 * 1024 * 1024))
|
disks=`du -sm ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current/. | \
|
||||||
make official_images
|
awk '{print $1}'`
|
||||||
|
make list COMPLETE=1 SIZELIMIT1=$(((630 - ${disks}) * 1024 * 1024)) SRCSIZELIMIT=$((635 * 1024 * 1024))
|
||||||
|
make bin-official_images
|
||||||
|
|
|
@ -18,7 +18,10 @@ do
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo " ... selecting packages to include"
|
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"
|
echo " ... building the images"
|
||||||
if [ "$ARCH" = "i386" ]; then
|
if [ "$ARCH" = "i386" ]; then
|
||||||
make official_images
|
make official_images
|
||||||
|
|
Loading…
Reference in New Issue