increase UBOOT_MAX_SIZE from 32 to 64

This commit is contained in:
Pratham Patel 2023-11-20 18:37:11 +05:30
parent 1594cab9f4
commit 6bd3cd4b7f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if [[ -n "$1" ]]; then
fi
function create_new_image {
UBOOT_MAX_SIZE='32'
UBOOT_MAX_SIZE='64'
IMAGE_SIZE=$(( $(stat -c '%s' "${IMAGE_NAME}") / 1024 / 1024 ))
NEW_IMAGE_NAME="${IMAGE_NAME}.new"
truncate -s "$(( IMAGE_SIZE + (UBOOT_MAX_SIZE * 2) ))"MiB "${NEW_IMAGE_NAME}"