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

Commit 64dffd39 authored by Daniel Rosenberg's avatar Daniel Rosenberg
Browse files

Remove creation of root directory folders

Folders in the root directory are now created during the build,
as we may be building without a ramdisk, and when we do that,
the root directory will be read-only.  With those changes,
these mkdirs will never need to run.

Change-Id: I49c63e8bfc71d28e3f938ed41f81d108359fa57a
parent bbe796d2
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -19,9 +19,6 @@ on early-init

    start ueventd

    # create mountpoints
    mkdir /mnt 0775 root system

on init
    sysclktz 0

@@ -32,8 +29,7 @@ on init
    # Link /vendor to /system/vendor for devices without a vendor partition.
    symlink /system/vendor /vendor

    # Create cgroup mount point for cpu accounting
    mkdir /acct
    # Mount cgroup mount point for cpu accounting
    mount cgroup none /acct cpuacct
    mkdir /acct/uid

@@ -50,11 +46,6 @@ on init
    chown root system /sys/fs/cgroup/memory/sw/tasks
    chmod 0660 /sys/fs/cgroup/memory/sw/tasks

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

    # See storage config details at http://source.android.com/tech/storage/
    mkdir /mnt/shell 0700 shell shell
    mkdir /mnt/media_rw 0700 media_rw media_rw