mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Enable metadata encryption
Test: Device boots, reboots, sector 0 of userdata is encrypted Change-Id: Ifad7f5fef47f09d5d94490e30f0299a5d1c45e45
This commit is contained in:
@@ -65,7 +65,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
|
||||
|
||||
|
||||
@@ -270,3 +270,7 @@
|
||||
/persist/data(/.*)? u:object_r:persist_data_file:s0
|
||||
/persist/display(/.*)? u:object_r:persist_display_file:s0
|
||||
/persist/sensors(/.*)? u:object_r:persist_sensors_file:s0
|
||||
|
||||
/metadata u:object_r:rootfs:s0
|
||||
/metadata/.* u:object_r:vold_data_file:s0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user