sdm710-common: Use logdump as metadata partition and mount at the first stage

* logdump seems to be only contain factory logs which is of 2017 and useless for us.
* It's required for DSU
This commit is contained in:
me-cafebabe 2022-07-16 18:55:19 +08:00 committed by CakesTwix
parent deca8b38a0
commit 29f1905334
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825
2 changed files with 3 additions and 0 deletions

View file

@ -95,6 +95,8 @@ BOARD_BUILD_SYSTEM_ROOT_IMAGE := false
TARGET_USERIMAGES_USE_EXT4 := true
# Dynamic partitions
BOARD_USES_METADATA_PARTITION := true
BOARD_SUPER_PARTITION_BLOCK_DEVICES := vendor system
BOARD_SUPER_PARTITION_METADATA_DEVICE := system
BOARD_SUPER_PARTITION_VENDOR_DEVICE_SIZE := 1073741824

View file

@ -11,6 +11,7 @@ system_ext /system_ext
product /product ext4 ro wait,logical,first_stage_mount
vendor /vendor ext4 ro wait,logical,first_stage_mount
odm /odm ext4 ro wait,logical,first_stage_mount
/dev/block/bootdevice/by-name/logdump /metadata ext4 nosuid,nodev,noatime,discard wait,check,formattable,first_stage_mount
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,discard,lazytime latemount,wait,check,fileencryption=ice,reservedsize=128M
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,noatime,nodev,barrier=1 wait
/devices/platform/soc/8804000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer