bootable/newinstaller
Revision | 02c31f4cb6fb70d4fdfb2749bda96b094a1871bf (tree) |
---|---|
Time | 2011-01-07 19:09:52 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: create a symlink /src for the source
@@ -106,13 +106,13 @@ while :; do | ||
106 | 106 | echo -n . |
107 | 107 | done |
108 | 108 | |
109 | +ln -s mnt/$SRC /src | |
109 | 110 | ln -s android/system / |
110 | - | |
111 | 111 | ln -s ../system/lib/modules /lib |
112 | 112 | |
113 | 113 | if [ -n "$INSTALL" ]; then |
114 | 114 | cd / |
115 | - zcat /mnt/$SRC/install.img | cpio -iud > /dev/null | |
115 | + zcat /src/install.img | cpio -iud > /dev/null | |
116 | 116 | fi |
117 | 117 | |
118 | 118 | if [ -n "$DEBUG" -o -n "$BUSYBOX" ]; then |
@@ -131,7 +131,7 @@ if [ -n "$DEBUG" ]; then | ||
131 | 131 | fi |
132 | 132 | |
133 | 133 | # load scripts |
134 | -for s in `ls /scripts/* /mnt/$SRC/scripts/*`; do | |
134 | +for s in `ls /scripts/* /src/scripts/*`; do | |
135 | 135 | test -e "$s" && source $s |
136 | 136 | done |
137 | 137 |