summaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc8
1 files changed, 6 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index f61d2cf..6221e6e 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -8,8 +8,8 @@ sysclktz 0
loglevel 3
# setup the global environment
- export PATH /sbin:/system/sbin:/system/bin:/system/xbin
- export LD_LIBRARY_PATH /system/lib
+ 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_ROOT /system
export ANDROID_ASSETS /system/app
@@ -23,6 +23,10 @@ loglevel 3
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 mountpoints
mkdir /mnt 0775 root system
mkdir /mnt/sdcard 0000 system system