From e5359d2734c3f603a64bc56a52173a2a0441788a Mon Sep 17 00:00:00 2001 From: Konsta Date: Wed, 19 Feb 2025 17:45:21 +0200 Subject: [PATCH] mkimg: increase image size to fit 16GB storage device * This will create a flashable image that is 15500000000 bytes. * I checked several 16GB sdcards and USB storage devices and the actual byte size ranged from 15646851072 to 16008609792. --- mkimg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkimg.sh b/mkimg.sh index bf65f4f..ce89d62 100755 --- a/mkimg.sh +++ b/mkimg.sh @@ -29,7 +29,7 @@ VERSION=RaspberryVanillaAOSP15 DATE=$(date +%Y%m%d) TARGET=$(echo ${TARGET_PRODUCT} | sed 's/^aosp_//') IMGNAME=${VERSION}-${DATE}-${TARGET}.img -IMGSIZE=7GiB +IMGSIZE=15.5GB if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"