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

Commit 0b835c2f authored by Won-Kyu Park's avatar Won-Kyu Park Committed by Steve Kondik
Browse files

Create /cache/dalvik-cache

manually imported commit ba422208 by ctso

Change-Id: I617573a14a8cf08d353804016b3351186720d199
parent 0a481642
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ loglevel 3
    export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
    export LD_LIBRARY_PATH /vendor/lib:/system/lib
    export ANDROID_BOOTLOGO 1
    export ANDROID_CACHE /cache
    export ANDROID_ROOT /system
    export ANDROID_ASSETS /system/app
    export ANDROID_DATA /data
@@ -54,7 +55,7 @@ loglevel 3

    mkdir /system
    mkdir /data 0771 system system
    mkdir /cache 0770 system cache
    mkdir /cache 0771 system cache
    mkdir /config 0500 root root

    # See storage config details at http://source.android.com/tech/storage/
@@ -228,8 +229,14 @@ on post-fs-data
    mkdir /data/ssh 0750 root shell
    mkdir /data/ssh/empty 0700 root root

    # create dalvik-cache, so as to enforce our permissions
    # create dalvik-cache and double-check the perms, so as to enforce our permissions
    mkdir /data/dalvik-cache 0771 system system
    chown system system /data/dalvik-cache
    chmod 0771 /data/dalvik-cache

    mkdir /cache/dalvik-cache 0771 system system
    chown system system /cache/dalvik-cache
    chmod 0771 /cache/dalvik-cache

    # create resource-cache and double-check the perms
    mkdir /data/resource-cache 0771 system system