diff --git a/create-image.sh b/create-image.sh index 9572072..12e27df 100755 --- a/create-image.sh +++ b/create-image.sh @@ -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}"