• 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

bootable/newinstaller


Commit MetaInfo

Revision02c31f4cb6fb70d4fdfb2749bda96b094a1871bf (tree)
Time2011-01-07 19:09:52
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: create a symlink /src for the source

Change Summary

Incremental Difference

--- a/initrd/init
+++ b/initrd/init
@@ -106,13 +106,13 @@ while :; do
106106 echo -n .
107107 done
108108
109+ln -s mnt/$SRC /src
109110 ln -s android/system /
110-
111111 ln -s ../system/lib/modules /lib
112112
113113 if [ -n "$INSTALL" ]; then
114114 cd /
115- zcat /mnt/$SRC/install.img | cpio -iud > /dev/null
115+ zcat /src/install.img | cpio -iud > /dev/null
116116 fi
117117
118118 if [ -n "$DEBUG" -o -n "$BUSYBOX" ]; then
@@ -131,7 +131,7 @@ if [ -n "$DEBUG" ]; then
131131 fi
132132
133133 # load scripts
134-for s in `ls /scripts/* /mnt/$SRC/scripts/*`; do
134+for s in `ls /scripts/* /src/scripts/*`; do
135135 test -e "$s" && source $s
136136 done
137137