summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-12-08 09:33:07 -0800
committerAndreas Gampe <agampe@google.com>2016-01-28 11:42:57 -0800
commit7dfcc92beeda542b0148c71490cac29007cce38f (patch)
treedb3ea525695d845cecb7654a199798527d030e57 /rootdir/init.rc
parent113f88e36546ced277205e08283dc9010b051d1f (diff)
Init: add OTA directory
Add /data/ota in init so that the right selinux labels are applied. Bug: 25612095 Change-Id: I8fd093147f8e0a5c3bd1a4007a61b0b759911cf2
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 441f28b10..2c81dcb41 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -371,6 +371,8 @@ on post-fs-data
# create dalvik-cache, so as to enforce our permissions
mkdir /data/dalvik-cache 0771 root root
+ # create the A/B OTA directory, so as to enforce our permissions
+ mkdir /data/ota 0771 root root
# create resource-cache and double-check the perms
mkdir /data/resource-cache 0771 system system