Init: add OTA directory

Add /data/ota in init so that the right selinux labels are applied.

Bug: 25612095
Change-Id: I8fd093147f8e0a5c3bd1a4007a61b0b759911cf2
This commit is contained in:
Andreas Gampe 2015-12-08 09:33:07 -08:00
parent 113f88e365
commit 7dfcc92bee
1 changed files with 2 additions and 0 deletions

View File

@ -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