1
0
Fork 0

Extend partitions to reserve some free space

This reverts commit 73261d6ef5.
This commit is contained in:
Alex Kotov 2020-02-09 23:44:01 +05:00
parent 73261d6ef5
commit d8228e94a7
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -27,8 +27,9 @@ TOTAL_SIZE=$(du --apparent-size -s "$ROOTFS_DIR" --block-size=1 | cut -f 1)
ROOT_SIZE=$((TOTAL_SIZE - BOOT_SIZE))
# Extend to reserve some free space.
BOOT_SIZE=$((BOOT_SIZE * 2))
ROOT_SIZE=$((ROOT_SIZE + 800 * 1024 * 1024))
ROOT_SIZE=$((ROOT_SIZE + 10 * 1024 * 1024 * 1024))
BLOCK_SIZE=512