summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-10-20 21:53:56 -0700
committerNick Kralevich <nnk@google.com>2014-11-05 10:17:39 -0800
commit667230074b6e4e306a50d84a88a57bf4f1ec0291 (patch)
treed071a1e3f6f0f6f7ea4e10728c930beda59fd5a5 /rootdir
parent4b970895848ff114ac1011a293663eb6d43e8fd7 (diff)
downloadsystem_core-667230074b6e4e306a50d84a88a57bf4f1ec0291.zip
system_core-667230074b6e4e306a50d84a88a57bf4f1ec0291.tar.gz
system_core-667230074b6e4e306a50d84a88a57bf4f1ec0291.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 (cherry picked from commit 89252ce31aacb27248e708b6487f730d3a024943) Change-Id: I44e01bee50125f4e6e5fff6e74c53bb2022ce355
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 8ba7c10..9093b54 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -309,6 +309,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