build-debian: Increase root filesystem partition

This commit is contained in:
Johan Gunnarsson 2023-06-06 20:43:12 +02:00
parent 9f5c445b04
commit ac0ab92c62
1 changed files with 3 additions and 1 deletions

View File

@ -181,8 +181,10 @@ ln -sf /run/systemd/resolve/stub-resolv.conf debian/etc/resolv.conf
find debian ! -type d -printf "/%P\n" | sort > files.txt find debian ! -type d -printf "/%P\n" | sort > files.txt
# Make a ext4 filesystem of this and put it into the image # Make a ext4 filesystem of this and put it into the image
# >>> 3800000000 - (32 * 1024 * 1024)
# 3766445568
rm -f ext4.img rm -f ext4.img
fallocate -l 1874MiB ext4.img fallocate -l 3766445568 ext4.img
mkfs.ext4 -d debian ext4.img mkfs.ext4 -d debian ext4.img
pigz ext4.img pigz ext4.img