• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revisión77058be6e23b92811fcd1f74342bba4dd3d087ac (tree)
Tiempo2013-07-25 16:20:07
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

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

Cambiar Resumen

Diferencia incremental

--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -40,12 +40,12 @@ loglevel 3
4040 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
4141
4242 # Backward compatibility
43- symlink /system/etc /etc
44- symlink /sys/kernel/debug /d
43+ symlink system/etc /etc
44+ symlink sys/kernel/debug /d
4545
4646 # Right now vendor lives on the same filesystem as system,
4747 # but someday that may change.
48- symlink /system/vendor /vendor
48+ symlink system/vendor /vendor
4949
5050 # Create cgroup mount point for cpu accounting
5151 mkdir /acct