summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2016-12-07 13:13:57 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-12-07 13:13:57 +0000
commit48d4fe138ee8ea8a9518144c42b18fb138aac4ec (patch)
tree74e7a763f1ec6cf7a10921692d67aed9c87da1eb
parent876ad4571e2eab037a2537f7334220e249a78343 (diff)
parentc740d0b56c1ceea761a84044dab86c2d681cf275 (diff)
change /data/bugreports to /bugreports am: 04bbd5c6dd am: 8be42a8040
am: c740d0b56c Change-Id: I5a6bb69289ce44ea8b1e92a66a655d2e9d1e967e
-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 a9b6af0de..a22d5c130 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -444,10 +444,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