summaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2014-05-28 14:10:01 -0700
committerDaniel Rosenberg <drosen@google.com>2014-06-24 21:51:31 +0000
commitf530c93c4aab818de51fd7123199bef6621047f8 (patch)
treee5c690f5b4dddd0051a1a7f61c2ae306ca306bb8 /rootdir/init.rc
parent929842aaf9f79571952fcee6b3cb29c655677e43 (diff)
downloadsystem_core-f530c93c4aab818de51fd7123199bef6621047f8.zip
system_core-f530c93c4aab818de51fd7123199bef6621047f8.tar.gz
system_core-f530c93c4aab818de51fd7123199bef6621047f8.tar.bz2
Added support for vendor partition and image
Modified fastboot to flash vendor.img as well. Moved symlink for /vendor to occur after mounting partitions. Changed mount to also create the mount point. Change-Id: I78e1ba24e6bb8b4af96a67ee0569af579439e682 Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 7d2addb..45928bb 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -38,10 +38,6 @@ on init
symlink /system/etc /etc
symlink /sys/kernel/debug /d
- # Right now vendor lives on the same filesystem as system,
- # but someday that may change.
- symlink /system/vendor /vendor
-
# Create cgroup mount point for cpu accounting
mkdir /acct
mount cgroup none /acct cpuacct
@@ -184,6 +180,10 @@ on late-init
trigger boot
on post-fs
+ # Right now vendor lives on the same filesystem as system,
+ # but someday that may change. If it has, this symlink will fail.
+ symlink /system/vendor /vendor
+
# once everything is setup, no need to modify /
mount rootfs rootfs / ro remount
# mount shared so changes propagate into child namespaces