summaryrefslogtreecommitdiff
path: root/recipes/kexecboot/kexecboot-0.4/kexecboot-tosa.patch
blob: e1f4870853d18cc57d46346ca71709c82d0ea51c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: kexecboot-0.4/kexecboot.c
===================================================================
--- kexecboot-0.4.orig/kexecboot.c	2009-01-29 01:30:43.000000000 +0000
+++ kexecboot-0.4/kexecboot.c	2009-01-29 01:39:17.000000000 +0000
@@ -416,7 +416,7 @@
 		{"Spitz",	270},
 
 		{"Collie",	270},
-		{"Tosa",	270},
+		{"SHARP Tosa",	0},
 		{"Poodle",	270},
 		{NULL, 0}
 	};
@@ -566,7 +566,9 @@
 			break;
 		}
 
-	}while(evt.code != 87 && evt.code != 63);
+	}while(evt.code != 87 && evt.code != 63 &&
+		evt.code != KEY_SPACE && evt.code != KEY_ENTER &&
+		evt.code != KEY_HIRAGANA && evt.code != KEY_HENKAN);
 	fclose(f);
 	// reset terminal
 	tcsetattr(fileno(stdin), TCSANOW, &old);