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 e5359d2734
.
Change-Id: Iae83ff6a3eb2b6033279ac5bfcd5d952577eeefa
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=15.5GB
|
||||
IMGSIZE=14.5GiB
|
||||
|
||||
if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then
|
||||
exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"
|
||||
|
Reference in New Issue
Block a user