ensure /data/tombstones exists on all Android device. DO NOT MERGE

/data/tombstones is referenced by core platform code, but is not
guaranteed to exist on all Android devices. Move the directory
creation out of device specific files and into the core
init.rc file.

Bug: https://code.google.com/p/android/issues/detail?id=93207
Change-Id: I94ae5199a6a32c4fe555ca994fc4a8345e0c9690

Bug: http://b/26403620
(cherry picked from commit 0359d778a5)
This commit is contained in:
Nick Kralevich 2015-01-30 17:38:06 -08:00 committed by Josh Gao
parent 809d5a0158
commit 9c0ed66313
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ on post-fs-data
mkdir /data/property 0700 root root
mkdir /data/ssh 0750 root shell
mkdir /data/ssh/empty 0700 root root
mkdir /data/tombstones 0771 system system
# create dalvik-cache, so as to enforce our permissions
mkdir /data/dalvik-cache 0771 system system