diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-09-05 16:02:56 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-09-05 17:58:08 -0700 |
commit | 37a333c2de9bfc3449439af914a1474da1f1597f (patch) | |
tree | 3e99a93aa72325e90885017ea78adb1efb444987 | |
parent | 7658a40f97b4570429a8ad056e6f28aaa1161616 (diff) | |
download | panda-37a333c2de9bfc3449439af914a1474da1f1597f.tar.gz |
Remove /sdcard hack for shell users.
Using a /storage/sdcard0 symlink and a tmpfs staging area was used
to enable "/sdcard" paths for both zygote processes and the shell
user, but it breaks on devices with both emulated and physical
external storage.
Specifically, vold can't mount a physical sdcard onto the primary
storage symlink, and zygote can't re-bind-mount when secondary
storage is remounted after dropping privileges.
Bug: 7094858, 7064600
Change-Id: I35b53608a2ff1f8ae88187431de33c818a1f8bb8
-rw-r--r-- | init.omap4pandaboard.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.omap4pandaboard.rc b/init.omap4pandaboard.rc index dacaea3..91c3842 100644 --- a/init.omap4pandaboard.rc +++ b/init.omap4pandaboard.rc @@ -3,12 +3,12 @@ import init.omap4pandaboard.usb.rc on init # See storage config details at http://source.android.com/tech/storage/ mkdir /mnt/shell/sdcard0 0700 shell shell + mkdir /storage/sdcard0 0000 root root export EXTERNAL_STORAGE /storage/sdcard0 export MULTIUSER_EXTERNAL_STORAGE /mnt/shell/sdcard0 # Support legacy paths - symlink /mnt/shell/sdcard0/0 /storage/sdcard0 symlink /storage/sdcard0 /sdcard symlink /storage/sdcard0 /mnt/sdcard |