Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc744dc9 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

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
parent 59a01499
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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