build-image, build-debian: Bump image size
This commit is contained in:
parent
758a39c0c7
commit
78257de090
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue