Merge "change /data/bugreports to /bugreports" am: 1b2e6abf3b am: 5fae86b5fa

am: cb9fbb4cf6

Change-Id: I9bf9253db9377ac81f2a37f8976e042fd54f74c2
This commit is contained in:
Nick Kralevich 2016-11-23 00:16:14 +00:00 committed by android-build-merger
commit c3f9d38a4c
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -445,10 +445,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
# Create all remaining /data root dirs so that they are made through init
# and get proper encryption policy installed
mkdir /data/backup 0700 system system