[rhel6] discinfo isn't needed for rescue (#859569)
Brian C. Lane
bcl at redhat.com
Thu Aug 1 23:02:15 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
---
loader/loader.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/loader/loader.c b/loader/loader.c
index 8c967be..4ae9a56 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1334,10 +1334,10 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
/* This is specific to RHEL, which does not have the mirror system
* set up like Fedora does. If the CD/DVD doesn't have packages,
* then it's a boot.iso and we still need to prompt for the
- * installation source.
+ * installation source, except when this is a rescue.
*/
- if (!access("/mnt/stage2/.discinfo", R_OK)) {
+ if (!access("/mnt/stage2/.discinfo", R_OK) || FL_RESCUE(flags)) {
skipLangKbd = 1;
flags |= LOADER_FLAGS_NOPASS;
--
1.8.3.1
More information about the anaconda-patches
mailing list