summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 953d935bb..b24b4670e 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1445,13 +1445,16 @@ static char * doMountImage(char * location,
while (step != STEP_DONE) {
switch (step) {
case STEP_LANG:
+#if !defined (__s390__) && !defined (__s390x__)
chooseLanguage(lang, flags);
+#endif
defaultLang = 0;
step = STEP_KBD;
dir = 1;
break;
case STEP_KBD:
+#if !defined (__s390__) && !defined (__s390x__)
rc = chooseKeyboard (keymap, kbdtype, flags);
if (rc == LOADER_NOOP) {
@@ -1469,6 +1472,10 @@ static char * doMountImage(char * location,
step = STEP_METHOD;
dir = 1;
}
+#else
+ step = STEP_METHOD;
+ dir = 1;
+#endif
break;
case STEP_METHOD: