• 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

Revision1e0d0e98bb3c01350afa97ad51fe1e5b924317a8 (tree)
Time2014-08-09 04:20:45
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

initrd: derive SRC from BOOT_IMAGE

If SRC is not set, assume the system image locates in
the same directory as the kernel.

Change Summary

Incremental Difference

--- a/initrd/init
+++ b/initrd/init
@@ -119,6 +119,8 @@ debug_shell()
119119
120120 echo -n Detecting Android-x86...
121121
122+[ -z "$SRC" -a -n "$BOOT_IMAGE" ] && SRC=`dirname $BOOT_IMAGE`
123+
122124 mount -t tmpfs tmpfs /android
123125 cd /android
124126 while :; do