mkimg: adjust flashable image size

* Raspberry Pi Imager expects image size to be multiple of 512 bytes
  so revert back to using gibibytes.
* 14.5GiB = 15569256448 bytes.
* Fixes c71777ecdd.

Change-Id: Iae83ff6a3eb2b6033279ac5bfcd5d952577eeefa
This commit is contained in:
Konsta
2025-02-25 19:16:29 +02:00
parent 2ff057cea4
commit e2a1429001

View File

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