diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2020-03-28 11:30:25 +0800 |
---|---|---|
committer | YongQin Liu <yongqin.liu@linaro.org> | 2020-03-28 03:37:18 +0000 |
commit | 5566317976f335c4eb545ec9b24e3eb89fa337f5 (patch) | |
tree | 2c37e4e54a7868e4fcb7b339e6a376cf0019736b | |
parent | c47877e357de0d04e63181fba757df0a21d20645 (diff) |
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
-rw-r--r-- | BoardConfigCommon.mk | 4 | ||||
-rw-r--r-- | fstab.ramdisk.common | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 11ffba8..b879d96 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -38,12 +38,14 @@ TARGET_COPY_OUT_VENDOR := vendor 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 diff --git a/fstab.ramdisk.common b/fstab.ramdisk.common index a2dcc4c..9554d4e 100644 --- a/fstab.ramdisk.common +++ b/fstab.ramdisk.common @@ -1,3 +1,4 @@ system /system ext4 noatime,ro,errors=panic wait,logical,first_stage_mount vendor /vendor ext4 noatime,ro,errors=panic wait,logical,first_stage_mount system_ext /system_ext ext4 noatime,ro,errors=panic wait,logical,first_stage_mount +product /product ext4 noatime,ro,errors=panic wait,logical,first_stage_mount |