diff options
author | Nick Kralevich <nnk@google.com> | 2014-10-20 21:53:56 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2014-10-21 16:16:39 +0000 |
commit | 89252ce31aacb27248e708b6487f730d3a024943 (patch) | |
tree | 1f1f62becaaf5b8747c6164e642cdfda37441146 /rootdir | |
parent | 951c48c504b28cd1646560a73d670493722f68f0 (diff) | |
download | system_core-89252ce31aacb27248e708b6487f730d3a024943.zip system_core-89252ce31aacb27248e708b6487f730d3a024943.tar.gz system_core-89252ce31aacb27248e708b6487f730d3a024943.tar.bz2 |
Ensure /data/adb exists
Ensure that /data/adb always exists. This directory is used
for writing adb debugging information when persist.adb.trace_mask
is set.
Bug: https://code.google.com/p/android/issues/detail?id=72895
Change-Id: I9cee2a0202417ff72a5ede7742e25877f51732dd
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 11c34f8..503f9ba 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -304,6 +304,8 @@ on post-fs-data # the following directory. mkdir /data/mediadrm 0770 mediadrm mediadrm + mkdir /data/adb 0700 root root + # symlink to bugreport storage location symlink /data/data/com.android.shell/files/bugreports /data/bugreports |