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:
2
mkimg.sh
2
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=14.5GiB
|
||||
IMGSIZE=14848MiB
|
||||
|
||||
if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then
|
||||
exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"
|
||||
|
Reference in New Issue
Block a user