system/corennnnn
修订版 | 2769b0178a118b334a54afe90f3a81e4f616a889 (tree) |
---|---|
时间 | 2016-12-09 16:22:10 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | 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.
@@ -163,10 +163,10 @@ static int wait_for_coldboot_done_action(const std::vector<std::string>& args) { | ||
163 | 163 | Timer t; |
164 | 164 | |
165 | 165 | NOTICE("Waiting for %s...\n", COLDBOOT_DONE); |
166 | - // Any longer than 1s is an unreasonable length of time to delay booting. | |
166 | + // Any longer than 10s is an unreasonable length of time to delay booting. | |
167 | 167 | // If you're hitting this timeout, check that you didn't make your |
168 | 168 | // sepolicy regular expressions too expensive (http://b/19899875). |
169 | - if (wait_for_file(COLDBOOT_DONE, 1)) { | |
169 | + if (wait_for_file(COLDBOOT_DONE, 10)) { | |
170 | 170 | ERROR("Timed out waiting for %s\n", COLDBOOT_DONE); |
171 | 171 | } |
172 | 172 |