init.rc: Create a small tmpfs on /asec so we can create mountpoints
Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
parent
6890db33cb
commit
900570e2a8
|
@ -24,11 +24,14 @@ loglevel 3
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue