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
This commit is contained in:
Daniel Rosenberg 2015-07-08 16:30:22 -07:00
parent bbe796d231
commit 64dffd3975
1 changed files with 1 additions and 10 deletions

View File

@ -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