• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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.

変更サマリ

差分

--- a/init/init.cpp
+++ b/init/init.cpp
@@ -630,10 +630,10 @@ static int wait_for_coldboot_done_action(int nargs, char **args) {
630630 Timer t;
631631
632632 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.
634634 // If you're hitting this timeout, check that you didn't make your
635635 // sepolicy regular expressions too expensive (http://b/19899875).
636- if (wait_for_file(COLDBOOT_DONE, 1)) {
636+ if (wait_for_file(COLDBOOT_DONE, 10)) {
637637 ERROR("Timed out waiting for %s\n", COLDBOOT_DONE);
638638 }
639639