bootable/newinstaller
Revision | 1e0d0e98bb3c01350afa97ad51fe1e5b924317a8 (tree) |
---|---|
Time | 2014-08-09 04:20:45 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
initrd: derive SRC from BOOT_IMAGE
If SRC is not set, assume the system image locates in
the same directory as the kernel.
@@ -119,6 +119,8 @@ debug_shell() | ||
119 | 119 | |
120 | 120 | echo -n Detecting Android-x86... |
121 | 121 | |
122 | +[ -z "$SRC" -a -n "$BOOT_IMAGE" ] && SRC=`dirname $BOOT_IMAGE` | |
123 | + | |
122 | 124 | mount -t tmpfs tmpfs /android |
123 | 125 | cd /android |
124 | 126 | while :; do |