Merge "Enable metadata encryption"

This commit is contained in:
TreeHugger Robot
2017-05-05 22:18:58 +00:00
committed by Android (Google) Code Review
3 changed files with 8 additions and 5 deletions

View File

@@ -66,7 +66,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

View File

@@ -203,6 +203,9 @@ on post-fs-data
# will fail
restart qseecomd
# Set indication (checked by vold) that we have finished this action
setprop vold.post_fs_data_done 1
# zygote need to be started after otapreopt which will be done on post-fs-data
on zygote-start
# zygote is started in common init.rc
@@ -315,10 +318,6 @@ on zygote-start
mkdir /data/nfc/param 0770 nfc nfc
mkdir /data/vendor/nfc 0770 nfc nfc
# Set indication (checked by vold) that we have finished this action
setprop vold.post_fs_data_done 1
on early-boot
# wait for devices
wait_for_prop sys.qcom.devup 1

View File

@@ -286,3 +286,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