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

Commit 27bbf895 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

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

am: f9b7f7fd

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

Change-Id: I8d0cb3b8687d376efbfbbf186f858bef1c7ccf8e
parents 3b2920a8 f9b7f7fd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -395,6 +395,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