Merge "init: don't start tombstoned until /data is mounted." am: b479a5002e am: f83489c02c am: d7db8378d0

am: 5d6ea5a9bd

Change-Id: I5ad79b54f9f42e6b04d81ca8123e5b41b03e92fb
This commit is contained in:
Josh Gao 2017-01-20 22:27:44 +00:00 committed by android-build-merger
commit 8c98938853
2 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,4 @@
service tombstoned /system/bin/tombstoned
class core
user tombstoned
group system

View File

@ -356,14 +356,13 @@ on post-fs-data
# We restorecon /data in case the userdata partition has been reset.
restorecon /data
# start debuggerd to make debugging early-boot crashes easier.
start debuggerd
start debuggerd64
# Make sure we have the device encryption key.
start vold
installkey /data
# start tombstoned to record early-boot crashes.
start tombstoned
# Start bootcharting as soon as possible after the data partition is
# mounted to collect more data.
mkdir /data/bootchart 0755 shell shell