Merge "Create /data/ota_package for OTA packages." into nyc-mr1-dev am: f9b7f7fdba

am: 27bbf8953d

* commit '27bbf8953d5a141912fe9325a4995da18ca86a6d':
  Create /data/ota_package for OTA packages.

Change-Id: I243ec91e45bf202a6867645504eb963b64262556
This commit is contained in:
Tao Bao 2016-06-07 04:45:48 +00:00 committed by android-build-merger
commit abb1165236
1 changed files with 4 additions and 0 deletions

View File

@ -396,6 +396,10 @@ on post-fs-data
# create the A/B OTA directory, so as to enforce our permissions
mkdir /data/ota 0771 root root
# create the OTA package directory. It will be accessed by GmsCore (cache
# group), update_engine and update_verifier.
mkdir /data/ota_package 0770 system cache
# create resource-cache and double-check the perms
mkdir /data/resource-cache 0771 system system
chown system system /data/resource-cache