Skip to content

Commit

Permalink
ensure /data/tombstones exists on all Android devices
Browse files Browse the repository at this point in the history
/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
  • Loading branch information
nickkral committed Jan 31, 2015
1 parent 6b1d863 commit 0359d77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootdir/init.rc
Expand Up @@ -290,6 +290,7 @@ on post-fs-data
mkdir /data/app-lib 0771 system system
mkdir /data/app 0771 system system
mkdir /data/property 0700 root root
mkdir /data/tombstones 0771 system system

# create dalvik-cache, so as to enforce our permissions
mkdir /data/dalvik-cache 0771 root root
Expand Down

0 comments on commit 0359d77

Please sign in to comment.