summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2014-10-21 19:42:56 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-21 19:42:56 +0200
commitdd57886ce6ec100ce212b7d8d1f6991a4b77e004 (patch)
tree558789b53bf9241b08b9d4fab24f5d6852cd3146
parentam 4f66469b: Merge "More test makefile cleanup." (diff)
parentinit.rc: Inidicate that booting is complete wrt firwmare requests (diff)
downloadandroid_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.tar
android_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.tar.gz
android_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.tar.bz2
android_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.tar.lz
android_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.tar.xz
android_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.tar.zst
android_bootable_recovery-dd57886ce6ec100ce212b7d8d1f6991a4b77e004.zip
-rw-r--r--etc/init.rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 1b402e20d..c654eedb8 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -45,7 +45,6 @@ on fs
write /sys/class/android_usb/android0/iProduct ${ro.product.model}
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
-
on boot
ifup lo
hostname localhost
@@ -57,6 +56,9 @@ on boot
on load_all_props_action
load_all_props
+on firmware_mounts_complete
+ rm /dev/.booting
+
# Mount filesystems and start core system services.
on late-init
trigger early-fs
@@ -69,6 +71,9 @@ 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