From 8362249e0650c7af74145fe452c21042375c1cae Mon Sep 17 00:00:00 2001 From: Volodymyr Zhdanov Date: Tue, 1 Dec 2020 11:46:52 +0100 Subject: [PATCH] sweet: Reserve less system/product space for gapps builds * we just want to have a bit to flash some basic stuffs and do some replacements Change-Id: I1226cfebf7ea0f52fd64ba64221cff56685ba084 --- BoardConfig.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index a22a12e..c6553f5 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -57,10 +57,15 @@ TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true BOARD_ODMIMAGE_PARTITION_RESERVED_SIZE := 104857600 +ifeq ($(WITH_GMS),true) +BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 104857600 +BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 104857600 +else BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT := -1 BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 1887436800 BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := -1 BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 1887436800 +endif BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 104857600 BOARD_VENDORIMAGE_PARTITION_RESERVED_SIZE := 104857600