summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tam <etam@google.com>2014-06-24 10:46:36 -0700
committerEd Tam <etam@google.com>2014-06-24 10:46:36 -0700
commit592b892080401305bd694052d21e4b5f44b1aeda (patch)
tree3350fcb830bbf85d46bf81a309991f8bbad5e100
parent386e0ad140d0bdf9331fee7c309db7b7a8da6064 (diff)
downloaddeb-592b892080401305bd694052d21e4b5f44b1aeda.tar.gz
Remove /storage/emulated/legacy mount point.
Bug: 8876648 Change-Id: I133432036632f2558f79ba12f26fd18f86f4039c
-rw-r--r--init.deb.rc7
1 files changed, 1 insertions, 6 deletions
diff --git a/init.deb.rc b/init.deb.rc
index cb28fe3..0f83669 100644
--- a/init.deb.rc
+++ b/init.deb.rc
@@ -25,7 +25,6 @@ on init
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
- mkdir /storage/emulated/legacy 0555 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
@@ -35,6 +34,7 @@ on init
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
+ symlink /mnt/shell/emulated/0 /storage/emulated/legacy
on init
# Set permissions for persist partition
@@ -421,11 +421,6 @@ service charger /sbin/healthd -c
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
class late_start
-# Binding fuse mount point to /storage/emulated/legacy
-on property:init.svc.sdcard=running
- wait /mnt/shell/emulated/0
- mount none /mnt/shell/emulated/0 /storage/emulated/legacy bind
-
service thermald /system/bin/thermald
class main
group radio