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:
2
mkimg.sh
2
mkimg.sh
@@ -29,7 +29,7 @@ VERSION=RaspberryVanillaAOSP14
|
|||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
TARGET=$(echo ${TARGET_PRODUCT} | sed 's/^aosp_//')
|
TARGET=$(echo ${TARGET_PRODUCT} | sed 's/^aosp_//')
|
||||||
IMGNAME=${VERSION}-${DATE}-${TARGET}.img
|
IMGNAME=${VERSION}-${DATE}-${TARGET}.img
|
||||||
IMGSIZE=7GiB
|
IMGSIZE=14848MiB
|
||||||
|
|
||||||
if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then
|
if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then
|
||||||
exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"
|
exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"
|
||||||
|
Reference in New Issue
Block a user