Extend partitions to reserve some free space
This reverts commit 73261d6ef5
.
This commit is contained in:
parent
73261d6ef5
commit
d8228e94a7
1 changed files with 2 additions and 1 deletions
3
mkimg.sh
3
mkimg.sh
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue