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

am: d7db8378d0

Change-Id: I37f553a19341d351dcf1fbb275352802b9b09e62
This commit is contained in:
Josh Gao 2017-01-20 22:23:54 +00:00 committed by android-build-merger
commit 5d6ea5a9bd
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

@ -355,14 +355,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