diff --git a/target/board/BoardConfigGsiCommon.mk b/target/board/BoardConfigGsiCommon.mk index 7319fec077..1df981b073 100644 --- a/target/board/BoardConfigGsiCommon.mk +++ b/target/board/BoardConfigGsiCommon.mk @@ -10,8 +10,10 @@ TARGET_USERIMAGES_USE_EXT4 := true # we explicit specify this need below (even though it's the current default). TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false -# Enable dyanmic system image size and reserved 64MB in it. -BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 67108864 +# Enable dynamic system image size and reserved 128MB in it. +# Currently the reserve size includes verified boot metadata. +# TODO: adjust to a smaller value if the reserved size is only for file system. +BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 134217728 # Android Verified Boot (AVB): # 1) Sets BOARD_AVB_ENABLE to sign the GSI image. diff --git a/target/board/treble_common.mk b/target/board/treble_common.mk index ccb69f2ed3..186900074d 100644 --- a/target/board/treble_common.mk +++ b/target/board/treble_common.mk @@ -35,8 +35,10 @@ TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false -# Enable dyanmic system image size and reserved 64MB in it. -BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 67108864 +# Enable dynamic system image size and reserved 128MB in it. +# Currently the reserve size includes verified boot metadata. +# TODO: adjust to a smaller value if the reserved size is only for file system. +BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 134217728 # Generic AOSP image always requires separate vendor.img TARGET_COPY_OUT_VENDOR := vendor