[rhel6-branch PATCH] Display the method selection details dialog on boot.iso (#620746).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This only applies to booting with boot.iso.  Without this patch, you'll get
the method selection screen where you can select the URL or NFS method, but
you'll never get the screen where you enter the details for finding the
package set.  This is because we already have stage2 data from mounting the
install.img off boot.iso.

With this patch, you'll get the method details dialog.  However, this has one
serious side effect.  The install.img used will be fetched from the remote
location, not the one on the boot.iso.  This means if you are doing a URL
install, you'll have to download the install.img anyway.

This seems to me to be the lowest risk change given the complexity of the
code and where we are in the schedule.
---
 loader/loader.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 268ffe1..704a986 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1262,8 +1262,12 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
                 sleep(3);
                 newtPopWindow();
             }
-            else
+            else {
                 logMessage(DEBUGLVL, "This appears to be a boot.iso.");
+                umountStage2();
+                free(url);
+                url = NULL;
+            }
 
             skipLangKbd = 1;
             flags |= LOADER_FLAGS_NOPASS;
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux