build-image, build-debian: Bump image size

This commit is contained in:
Johan Gunnarsson 2019-05-13 22:59:08 +02:00
parent 758a39c0c7
commit 78257de090
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ find debian ! -type d -printf "/%P\n" | sort > "/artifacts/${OS}-${DIST}-${ARCH}
# Make a ext4 filesystem of this and put it into the image
rm -f ext4.img
fallocate -l 900MiB ext4.img
fallocate -l 1875MiB ext4.img
mkfs.ext4 -d debian ext4.img
gzip ext4.img

View File

@ -6,7 +6,7 @@ IMAGE="${1}"
set -e
rm -f "${IMAGE}"
fallocate -l 1GB "${IMAGE}" # 1,000,000,000 bytes
fallocate -l 2GB "${IMAGE}" # 2,000,000,000 bytes
parted -s "${IMAGE}" mklabel msdos
parted -s "${IMAGE}" mkpart primary fat32 -- 1MiB 32MiB # 31 MiB (32,505,856 bytes)