diff options
author | Elliott Hughes <enh@google.com> | 2016-02-02 09:15:59 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-02-02 13:03:41 -0800 |
commit | 2f74a5dae5ec456844bcc95dee1cf264bba4e084 (patch) | |
tree | 8f03344c91bb36e4a4578330457dafb7b22a21f8 /rootdir | |
parent | 650f6809a39d8116f8f13f527c65372b80070f5e (diff) | |
download | system_core-2f74a5dae5ec456844bcc95dee1cf264bba4e084.tar.gz system_core-2f74a5dae5ec456844bcc95dee1cf264bba4e084.tar.bz2 system_core-2f74a5dae5ec456844bcc95dee1cf264bba4e084.zip |
Start debuggerd as soon as logd is up.
Makes debugging early boot crashes easier.
Bug: http://b/26918597
Change-Id: I5bb883f1350ea5f7a545cb0e9f1034ecfcf47cdb
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index f617d7227..7bf309bc4 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -297,8 +297,12 @@ on post-fs-data # We restorecon /data in case the userdata partition has been reset. restorecon /data - # Make sure we have the device encryption key + # Start logd, then start debuggerd to make debugging early-boot crashes easier. start logd + start debuggerd + start debuggerd64 + + # Make sure we have the device encryption key. start vold installkey /data |