mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Merge "Enable user data checkpoint on Wahoo"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1f10e3dba5
@@ -56,6 +56,7 @@ TARGET_NO_KERNEL := false
|
||||
TARGET_NO_RECOVERY := true
|
||||
BOARD_USES_RECOVERY_AS_BOOT := true
|
||||
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||
BOARD_USES_METADATA_PARTITION := true
|
||||
|
||||
# Partitions (listed in the file) to be wiped under recovery.
|
||||
TARGET_RECOVERY_WIPE := device/google/wahoo/recovery.wipe
|
||||
@@ -85,7 +86,7 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||
# Install odex files into the other system image
|
||||
BOARD_USES_SYSTEM_OTHER_ODEX := true
|
||||
|
||||
BOARD_ROOT_EXTRA_FOLDERS := persist firmware
|
||||
BOARD_ROOT_EXTRA_FOLDERS := persist firmware metadata
|
||||
|
||||
BOARD_SEPOLICY_DIRS += device/google/wahoo/sepolicy/vendor
|
||||
BOARD_PLAT_PUBLIC_SEPOLICY_DIR := device/google/wahoo/sepolicy/public
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/system / ext4 ro,barrier=1 wait,slotselect,avb
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/userdata /data ext4 errors=panic,noatime,nosuid,nodev,barrier=1,noauto_da_alloc latemount,wait,check,formattable,fileencryption=ice:aes-256-heh,eraseblk=16777216,logicalblk=4096,quota,reservedsize=128M
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/userdata /data ext4 errors=panic,noatime,nosuid,nodev,barrier=1,noauto_da_alloc latemount,wait,check,formattable,fileencryption=ice:aes-256-heh,eraseblk=16777216,logicalblk=4096,quota,reservedsize=128M,checkpoint=block
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/misc /misc emmc defaults defaults
|
||||
/dev/block/platform/soc/1da4000.ufshc/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
|
||||
/devices/soc/a800000.ssusb/a800000.dwc3* auto vfat defaults voldmanaged=usb:auto
|
||||
|
||||
1
sepolicy/public/init.te
Normal file
1
sepolicy/public/init.te
Normal file
@@ -0,0 +1 @@
|
||||
allow init vold_data_file:dir { relabelfrom };
|
||||
1
sepolicy/public/ueventd.te
Normal file
1
sepolicy/public/ueventd.te
Normal file
@@ -0,0 +1 @@
|
||||
allow ueventd metadata_file:dir search;
|
||||
Reference in New Issue
Block a user