system/corennnnn
Revisión | 77058be6e23b92811fcd1f74342bba4dd3d087ac (tree) |
---|---|
Tiempo | 2013-07-25 16:20:07 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.rc: use relative path for symlink
Usually it's better to use relative path for symlink. For example,
to use Android in a chroot environment, the absolute symlink will
fail outside the chroot environment. Using relative path guarantees
the link will work both inside and outside chroot.
Change-Id: I2f654a05189b9a666aed1fc7bdfb5a50357aff78
@@ -40,12 +40,12 @@ loglevel 3 | ||
40 | 40 | export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar |
41 | 41 | |
42 | 42 | # Backward compatibility |
43 | - symlink /system/etc /etc | |
44 | - symlink /sys/kernel/debug /d | |
43 | + symlink system/etc /etc | |
44 | + symlink sys/kernel/debug /d | |
45 | 45 | |
46 | 46 | # Right now vendor lives on the same filesystem as system, |
47 | 47 | # but someday that may change. |
48 | - symlink /system/vendor /vendor | |
48 | + symlink system/vendor /vendor | |
49 | 49 | |
50 | 50 | # Create cgroup mount point for cpu accounting |
51 | 51 | mkdir /acct |