mkimg: increase image size to fit 16GB storage device

* This will create a flashable image that is 15569256448 bytes.
* I checked several 16GB sdcards and USB storage devices and the
  actual byte size ranged from 15646851072 to 16008609792.
This commit is contained in:
Konsta
2025-02-19 17:45:21 +02:00
parent b9cf3a20dc
commit 60497874a8

View File

@@ -29,7 +29,7 @@ VERSION=RaspberryVanillaAOSP14
DATE=$(date +%Y%m%d)
TARGET=$(echo ${TARGET_PRODUCT} | sed 's/^aosp_//')
IMGNAME=${VERSION}-${DATE}-${TARGET}.img
IMGSIZE=7GiB
IMGSIZE=14848MiB
if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then
exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"