summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@google.com>2014-07-15 20:39:41 -0700
committerGuang Zhu <guangzhu@google.com>2014-07-22 00:23:30 -0700
commit67cb1aeaa5bb8dbd43d5a1bfb21d1a8c39822fb6 (patch)
tree9bd5ae5c8a4991be2e881b136ab67749eb95aaa4 /rootdir
parentef16a17afb8894776ce0be88b8a9ea705f9d64e5 (diff)
downloadsystem_core-67cb1aeaa5bb8dbd43d5a1bfb21d1a8c39822fb6.zip
system_core-67cb1aeaa5bb8dbd43d5a1bfb21d1a8c39822fb6.tar.gz
system_core-67cb1aeaa5bb8dbd43d5a1bfb21d1a8c39822fb6.tar.bz2
Remove the /dev/.booting file before triggering boot.
On mako only, there is a race condition such that core + main services must be started after releasing ueventd (by removing /dev/.booting). bug 16304711 bug 16333352
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index bbce64f..8eef76b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -184,11 +184,12 @@ on late-init
# issued fs triggers have completed.
trigger load_all_props_action
+ # Remove a file to wake up anything waiting for firmware.
+ trigger firmware_mounts_complete
+
trigger early-boot
trigger boot
- # Remove a file to wake up anything waiting for firmware
- trigger firmware_mounts_complete
on post-fs
# once everything is setup, no need to modify /