summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2016-02-18 19:48:31 -0800
committerDaniel Rosenberg <drosen@google.com>2016-03-16 15:58:24 -0700
commit4edec2539693690e116799cbbcf468147e02cb4b (patch)
treeb1de8c994340338545d53e9a66cffc61da42a6a6 /rootdir
parent73207ce139eaf1ac3fe3b96e2e0b254bf268b896 (diff)
Set up configfs
Bug: 19160983 Change-Id: I8fddf11fb6124950dfa2528a4f420abd9d461df6 Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 194b41baf..a95eaa26f 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -62,6 +62,10 @@ on init
mount tmpfs tmpfs /mnt mode=0755,uid=0,gid=1000
restorecon_recursive /mnt
+ mount configfs none /config
+ chmod 0775 /config/sdcardfs
+ chown system package_info /config/sdcardfs
+
mkdir /mnt/secure 0700 root root
mkdir /mnt/secure/asec 0700 root root
mkdir /mnt/asec 0755 root system