BoardConfigCommon.mk& fstab.ramdisk.common: update for product partition
update to use dynamic product partition, as it's mandatory now
by the commit here:
https://android-review.googlesource.com/c/platform/system/core/+/1264148
otherwise it will failed to boot to home screen successfully
Test: db845c boot to home screen successfully
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ib777b7006ef3b46fcf93c85d301ab83e1f2f61bd
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 11ffba8..b879d96 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -38,12 +38,14 @@
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_SYSTEM_EXT := system_ext
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
+TARGET_COPY_OUT_PRODUCT := product
+BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_USES_METADATA_PARTITION := true
# Super partition
TARGET_USE_DYNAMIC_PARTITIONS := true
BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
BOARD_SUPER_PARTITION_GROUPS := db_dynamic_partitions
-BOARD_DB_DYNAMIC_PARTITIONS_PARTITION_LIST := system vendor system_ext
+BOARD_DB_DYNAMIC_PARTITIONS_PARTITION_LIST := system vendor system_ext product
# Enable Treble
PRODUCT_FULL_TREBLE := true