• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

bootable/newinstaller


Commit MetaInfo

Révision48ede358f27cdd0af529460e2122b086269b3b92 (tree)
l'heure2011-05-23 19:19:23
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

init: ensure keyboard driver is loaded in debug or installation mode

Change Summary

Modification

--- a/initrd/init
+++ b/initrd/init
@@ -125,6 +125,9 @@ if [ -n "$DEBUG" -o -n "$BUSYBOX" ]; then
125125 ln -s android/sbin /
126126 fi
127127
128+# ensure keyboard driver is loaded
129+[ -n "$INSTALL" -o -n "$DEBUG" ] && modprobe atkbd
130+
128131 if [ -n "$DEBUG" ]; then
129132 echo -e "\nType 'exit' to continue booting...\n"
130133 debug_shell debug-found
--- a/install/scripts/1-install
+++ b/install/scripts/1-install
@@ -171,7 +171,7 @@ create_sdcard_img()
171171 newfs_msdos -L sdcard /dev/loop7 > /dev/tty7 2>&1
172172 fi
173173 if [ $? -eq 0 ]; then
174- sed -i "s|\(SDCARD=\S\+\?\s*\)||; s|\(SRC=\S\+\?\s*\)|\1 SDCARD=/$sdcard|" $menulst
174+ [ -n "menulst" ] && sed -i "s|\(SDCARD=\S\+\?\s*\)||; s|\(SRC=\S\+\?\s*\)|\1 SDCARD=/$sdcard|" $menulst
175175 msg="The fake SD card is created successfully"
176176 else
177177 msg="Failed to create a fake SD card"