mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sdm710-common
synced 2026-01-27 18:28:08 +00:00
sdm710-common: Use logdump as metadata partition
* We have a 64MB unused partition, why not use it Change-Id: Ie0fafa8285eaebb24589073581ff9575f40c89e9
This commit is contained in:
@@ -81,6 +81,7 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 114898743296
|
||||
BOARD_USES_METADATA_PARTITION := true
|
||||
|
||||
PARTITIONS_LIST := system vendor
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
/dev/block/by-name/vendor /vendor ext4 ro,barrier=1,discard wait,avb,first_stage_mount
|
||||
|
||||
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,noatime,nodev,barrier=1 wait
|
||||
/dev/block/by-name/logdump /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount
|
||||
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,noatime,nodev,barrier=1,noauto_da_alloc,lazytime wait,check,fileencryption=ice,quota,reservedsize=128M
|
||||
|
||||
/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait
|
||||
|
||||
4
sepolicy/vendor/file_contexts
vendored
4
sepolicy/vendor/file_contexts
vendored
@@ -2,6 +2,10 @@
|
||||
/dev/socket/audio_hw_socket u:object_r:audio_socket:s0
|
||||
/mnt/vendor/persist/audio(/.*)? u:object_r:persist_audio_file:s0
|
||||
|
||||
# Block devices
|
||||
/dev/block/platform/soc/1d84000.ufshc/by-name/logdump u:object_r:metadata_block_device:s0
|
||||
/dev/block/platform/soc/7c4000.sdhci/by-name/logdump u:object_r:metadata_block_device:s0
|
||||
|
||||
# Camera
|
||||
/mnt/vendor/persist/camera(/.*)? u:object_r:persist_camera_file:s0
|
||||
/vendor/bin/remosaic_daemon u:object_r:remosaic_daemon_exec:s0
|
||||
|
||||
Reference in New Issue
Block a user