summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2014-10-21 19:48:18 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-21 19:48:18 +0200
commita7a0ed94a2dbfd22e6313250daf11c0746487da1 (patch)
tree3f9cac9b620358c08a1547270a782c9ff00bba68
parentam 5b7f5b15: am 4f66469b: Merge "More test makefile cleanup." (diff)
parentam 9eb8c8bd: init.rc: Inidicate that booting is complete wrt firwmare requests (diff)
downloadandroid_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.tar
android_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.tar.gz
android_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.tar.bz2
android_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.tar.lz
android_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.tar.xz
android_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.tar.zst
android_bootable_recovery-a7a0ed94a2dbfd22e6313250daf11c0746487da1.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