1
0
Fork 0

Revert "Extend partitions to reserve some free space"

This reverts commit d907aaac3b.
This reverts commit 3b5b11f9e5.
This commit is contained in:
Alex Kotov 2020-02-09 22:41:30 +05:00
parent d907aaac3b
commit 73261d6ef5
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -27,9 +27,8 @@ 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 + 8 * 1024 * 1024 * 1024))
ROOT_SIZE=$((ROOT_SIZE + 800 * 1024 * 1024))
BLOCK_SIZE=512