summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2016-12-07 13:06:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-12-07 13:06:30 +0000
commit8be42a80403834d9534f1bcb55b6f265882704ed (patch)
tree7304afa9d8e27ee958ad3fabe4887ee8cb455fdc
parent058bae82ed7e5599ec622e88f649ecbf7f96b078 (diff)
parent04bbd5c6dd0455af43e96efbc45399bf6fd70d40 (diff)
change /data/bugreports to /bugreports
am: 04bbd5c6dd Change-Id: I3b83588438a747d5ba202f629fce83ac841f1043
-rw-r--r--rootdir/Android.mk1
-rw-r--r--rootdir/init.rc4
2 files changed, 1 insertions, 4 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index aa5a52092..7d0c87dc4 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -123,6 +123,7 @@ endif
LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_ROOT_OUT)/, \
sbin dev proc sys system data oem acct config storage mnt root $(BOARD_ROOT_EXTRA_FOLDERS)); \
ln -sf /system/etc $(TARGET_ROOT_OUT)/etc; \
+ ln -sf /data/user_de/0/com.android.shell/files/bugreports $(TARGET_ROOT_OUT)/bugreports; \
ln -sf /sys/kernel/debug $(TARGET_ROOT_OUT)/d; \
ln -sf /storage/self/primary $(TARGET_ROOT_OUT)/sdcard
ifdef BOARD_USES_VENDORIMAGE
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 56379dbd3..71f9d5acd 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -427,10 +427,6 @@ on post-fs-data
mkdir /data/anr 0775 system system
- # symlink to bugreport storage location
- rm /data/bugreports
- symlink /data/user_de/0/com.android.shell/files/bugreports /data/bugreports
-
# Separate location for storing security policy files on data
mkdir /data/security 0711 system system