Add directories for OBB mounting
Change-Id: Ib73e9bca50fb168ab5d147cc260666a770092961
diff --git a/rootdir/init.rc b/rootdir/init.rc
index d2ee6d5..4a88513 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -16,6 +16,7 @@
export ANDROID_DATA /data
export EXTERNAL_STORAGE /mnt/sdcard
export ASEC_MOUNTPOINT /mnt/asec
+ export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
# Backward compatibility
@@ -53,6 +54,10 @@
mkdir /mnt/asec 0700 root system
mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
+ # Filesystem image public mount points.
+ mkdir /mnt/obb 0700 root system
+ mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
+
mount rootfs rootfs / ro remount
write /proc/sys/kernel/panic_on_oops 1