mkimg: adjust flashable image size again

* Different decimal separator is used depending on the locale.
* 14848MiB = 15569256448 bytes.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/187.
* Fixes fd9c60bdaf.
This commit is contained in:
Konsta
2025-02-27 17:24:38 +02:00
parent fd9c60bdaf
commit b3a1d84235

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=14.5GiB
IMGSIZE=14848MiB
if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then
exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"