init.rc: Create a small tmpfs on /asec so we can create mountpoints
Signed-off-by: San Mehat <san@google.com>
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 4aa02c5..b4689e6 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -24,11 +24,14 @@
mkdir /system
mkdir /data 0771 system system
mkdir /cache 0770 system cache
- mkdir /asec 0500 system system
mkdir /config 0500 root root
mkdir /sqlite_stmt_journals 01777 root root
mount tmpfs tmpfs /sqlite_stmt_journals size=4m
+# create Android Secure External Cache mount tree
+ mkdir /asec 0500 system system
+ mount tmpfs tmpfs /asec mode=0700
+
mount rootfs rootfs / ro remount
write /proc/sys/kernel/panic_on_oops 1