system/corennnnn
リビジョン | acb9fc8a65362c31915cbeaf860a1a9548dd1b02 (tree) |
---|---|
日時 | 2016-08-14 12:23:20 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
init: enlarge the time to wait coldboot done
We need more time to probe and load all modules.
If 10s is still not enough for you, let me know.
@@ -630,10 +630,10 @@ static int wait_for_coldboot_done_action(int nargs, char **args) { | ||
630 | 630 | Timer t; |
631 | 631 | |
632 | 632 | NOTICE("Waiting for %s...\n", COLDBOOT_DONE); |
633 | - // Any longer than 1s is an unreasonable length of time to delay booting. | |
633 | + // Any longer than 10s is an unreasonable length of time to delay booting. | |
634 | 634 | // If you're hitting this timeout, check that you didn't make your |
635 | 635 | // sepolicy regular expressions too expensive (http://b/19899875). |
636 | - if (wait_for_file(COLDBOOT_DONE, 1)) { | |
636 | + if (wait_for_file(COLDBOOT_DONE, 10)) { | |
637 | 637 | ERROR("Timed out waiting for %s\n", COLDBOOT_DONE); |
638 | 638 | } |
639 | 639 |