Enable dyanmic image size for GSI
The original size number of GSI are fixed size. Change to give
size by the content with appending 64M bytes space.
Bug: 71970853
Test: `make systemimage` and check the out system.img
Change-Id: I345f5e22c2fee7b553fc3337e9bff0ba28f579e1
Merged-In: I345f5e22c2fee7b553fc3337e9bff0ba28f579e1
diff --git a/target/board/treble_common.mk b/target/board/treble_common.mk
index c347060..7da7b30 100644
--- a/target/board/treble_common.mk
+++ b/target/board/treble_common.mk
@@ -36,6 +36,9 @@
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false
TARGET_USES_MKE2FS := true
+# Enable dyanmic system image size and reserved 64MB in it.
+BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 67108864
+
# Generic AOSP image always requires separate vendor.img
TARGET_COPY_OUT_VENDOR := vendor