From 89252ce31aacb27248e708b6487f730d3a024943 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Mon, 20 Oct 2014 21:53:56 -0700 Subject: [PATCH] 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 --- rootdir/init.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 11c34f87e..503f9bacd 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