summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDavid Ng <dave@codeaurora.org>2015-08-05 17:13:03 -0700
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:22:37 -0600
commitbfd775eabe5949ebdeb2d7698ee9515d90921551 (patch)
tree1fa4111899d7f2670f55c2a54a68b5451b3f100e /init
parent4ebedb957f55a36f39dde4a9bf10a886b69630db (diff)
downloadsystem_core-bfd775eabe5949ebdeb2d7698ee9515d90921551.zip
system_core-bfd775eabe5949ebdeb2d7698ee9515d90921551.tar.gz
system_core-bfd775eabe5949ebdeb2d7698ee9515d90921551.tar.bz2
init: Temporarily increase coldboot timeout to 5s
Temporarily increase coldboot timeout to 5s to account for slower initialization during new hardware bring-up. This change will need to be reverted once the bring-up process is complete. Change-Id: I8816ed909b8758274078f15f1d8bc420098b57bf
Diffstat (limited to 'init')
-rw-r--r--init/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.cpp b/init/init.cpp
index 93fe944..c72f055 100644
--- a/init/init.cpp
+++ b/init/init.cpp
@@ -632,7 +632,7 @@ static int wait_for_coldboot_done_action(int nargs, char **args) {
// Any longer than 1s is an unreasonable length of time to delay booting.
// If you're hitting this timeout, check that you didn't make your
// sepolicy regular expressions too expensive (http://b/19899875).
- if (wait_for_file(COLDBOOT_DONE, 1)) {
+ if (wait_for_file(COLDBOOT_DONE, 5)) {
ERROR("Timed out waiting for %s\n", COLDBOOT_DONE);
}