summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2014-10-21 05:02:57 +0200
committerJP Abgrall <jpa@google.com>2014-10-21 05:02:57 +0200
commit9eb8c8bdbe4965e9a92d83882e97cf67aee20821 (patch)
tree5af20b7f7ad9fd021444f644eb707184c7884f15 /etc
parentsupport for version 2 of block image diffs (diff)
downloadandroid_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.tar
android_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.tar.gz
android_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.tar.bz2
android_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.tar.lz
android_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.tar.xz
android_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.tar.zst
android_bootable_recovery-9eb8c8bdbe4965e9a92d83882e97cf67aee20821.zip
Diffstat (limited to 'etc')
-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