summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-01-06 16:35:45 -0500
committerChris Lumens <clumens@redhat.com>2009-01-06 16:41:49 -0500
commit3430f3062daa8c5b85c51030e628c9627b2e30ac (patch)
tree4f88e5b2abc84db0398e4b6d6c22b418577c0cb6 /loader
parentca01e8da3aecbfd7d521e0af117854f85b6db54d (diff)
downloadanaconda-3430f3062daa8c5b85c51030e628c9627b2e30ac.tar.gz
anaconda-3430f3062daa8c5b85c51030e628c9627b2e30ac.tar.xz
anaconda-3430f3062daa8c5b85c51030e628c9627b2e30ac.zip
Don't skip the method screen when going back and forth (#477991).
The following UI flow is broken: OK on keyboard -> Back on method selection -> OK on keyboard -> method. In this case, the method screen is skipped and loader cruises way ahead to searching for the stage2 image on a CD. Failing that (like, you're doing a PXE boot) it will display a screen telling you that a CD couldn't be found. Fix it by allowing displaying method selection again.
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 23178913e..4a2c2e6c3 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1377,6 +1377,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
}
if (rc && rc != 1) {
+ loaderData->method = -1;
step = STEP_KBD;
dir = -1;
} else {