apexd: Create top-level /data/apex folders at boot

- package manager needs to read from /data/apex/active, hence 0750
- both /data/apex/backups and /data/apex/sessions are internal to apexd,
  hence 0700

Bug: 123927167
Fixes: 123927167
Test: apex_e2e_tests, flashall -w & checked folders were created
Change-Id: I06c28328afe4945d082acd890401651bd37fcb20
This commit is contained in:
Nikita Ioffe 2019-02-06 11:32:06 +00:00
parent 59a0149939
commit bc744dc98f
1 changed files with 3 additions and 0 deletions

View File

@ -545,6 +545,9 @@ on post-fs-data
mkdir /data/anr 0775 system system
mkdir /data/apex 0750 root system
mkdir /data/apex/active 0750 root system
mkdir /data/apex/backup 0700 root system
mkdir /data/apex/sessions 0700 root system
mkdir /data/staging 0750 system system
# NFC: create data/nfc for nv storage