summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2021-03-18 12:11:41 -0700
committerTianjie <xunchang@google.com>2021-03-18 12:11:41 -0700
commitb7cc832477774e4cab378dfcefc458ed9c15d1df (patch)
tree97eaf7ca142ffc8de77ee3ae3fb069cc1d65bad1
parent45eb8712a42e8cde8b0c92103da51b3c02d9b1df (diff)
downloadyukawa-b7cc832477774e4cab378dfcefc458ed9c15d1df.tar.gz
Reserve space in super for dynamic partition metadata
The maximum size of all dynamic partition groups should not exceed the super size - DAP metadata size. Today the configuration of the device doesn't take the metadata into acount. Since we recommend 4M to partners, reserve 4M here. Bug: 182431975 Test: build Change-Id: I461e410eaa299add6bd4e82b25a6b4c3ad9e28dd
-rw-r--r--BoardConfigCommon.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 07555f4..b8b405e 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -76,7 +76,7 @@ BOARD_SUPER_PARTITION_SIZE := 4831838208
else
BOARD_SUPER_PARTITION_SIZE := 2415919104
endif
-BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 2415919104
+BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 2411724800 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := super
BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true