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

Commit 5408a766 authored by Pat Tjin's avatar Pat Tjin Committed by android-build-merger
Browse files

Merge \\"core/init.rc: Add /data/cache/* directory creation\\" into nyc-mr1-dev am: 46066ef4

am: b05988b3

Change-Id: Iae9bc319eaad99364b59772260867fb90b08eeae
parents 652f2bb7 b05988b3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -234,6 +234,8 @@ on init
    # expecting it to point to /proc/self/fd
    symlink /proc/self/fd /dev/fd

    export DOWNLOAD_CACHE /data/cache

# Healthd can trigger a full boot from charger mode by signaling this
# property when the power button is held.
on property:sys.boot_from_charger_mode=1
@@ -452,6 +454,11 @@ on post-fs-data
    mkdir /data/media 0770 media_rw media_rw
    mkdir /data/media/obb 0770 media_rw media_rw

    mkdir /data/cache 0770 system cache
    mkdir /data/cache/recovery 0770 system cache
    mkdir /data/cache/backup_stage 0700 system system
    mkdir /data/cache/backup 0700 system system

    init_user0

    # Set SELinux security contexts on upgrade or policy update.