Actually don't start tombstoned until /data is mounted.

Bug: http://b/34461270
Test: boot is actually faster
Test: tombstoned still started by init
Change-Id: I4976abef108bbb6fad264f9b68cbc1fba711085b
This commit is contained in:
Josh Gao 2017-01-23 15:56:11 -08:00
parent 4decbe0d6c
commit 0ad5107e51
2 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,9 @@ service tombstoned /system/bin/tombstoned
user tombstoned
group system
# Don't start tombstoned until after the real /data is mounted.
class late_start
socket tombstoned_crash seqpacket 0666 system system
socket tombstoned_intercept seqpacket 0666 system system
writepid /dev/cpuset/system-background/tasks

View File

@ -359,9 +359,6 @@ on post-fs-data
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