aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2015-07-06 10:44:33 -0700
committerPaul Lawrence <paullawrence@google.com>2015-07-07 13:26:17 -0700
commit90c75b0beb375b8d261e2df92292e9b542470f6e (patch)
tree430f294f172c53f5df11e5402b8b3b845270be7b /etc
parent10cf0942a7f4b2bfd539416e4767aaaf866a6527 (diff)
downloadbootable_recovery-90c75b0beb375b8d261e2df92292e9b542470f6e.zip
bootable_recovery-90c75b0beb375b8d261e2df92292e9b542470f6e.tar.gz
bootable_recovery-90c75b0beb375b8d261e2df92292e9b542470f6e.tar.bz2
Change init sequence to support file level encryption
File level encryption must get the key between mounting userdata and calling post_fs_data when the directories are created. This requires access to keymaster, which in turn is found from a system property. Split property loaded into system and data, and load in right order. Bug: 22233063 Change-Id: I409c12e3f4a8cef474eb48818e96760fe292cc49
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 6c07c60..4277277 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -47,8 +47,8 @@ on boot
class_start default
# Load properties from /system/ + /factory after fs mount.
-on load_all_props_action
- load_all_props
+on load_system_props_action
+ load_system_props
on firmware_mounts_complete
rm /dev/.booting
@@ -63,7 +63,7 @@ on late-init
# Load properties from /system/ + /factory after fs mount. Place
# this in another action so that the load will be scheduled after the prior
# issued fs triggers have completed.
- trigger load_all_props_action
+ trigger load_system_props_action
# Remove a file to wake up anything waiting for firmware
trigger firmware_mounts_complete