[PATCH] Log which step we're on in doLoaderMain.

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

 



---
 loader/loader.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 2836593..f9d5483 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1236,6 +1236,9 @@ static void doLoaderMain(struct loaderData_s *loaderData,
     enum { STEP_LANG, STEP_KBD, STEP_METHOD, STEP_DRIVER,
            STEP_DRIVERDISK, STEP_NETWORK, STEP_IFACE,
            STEP_IP, STEP_EXTRAS, STEP_DONE } step;
+    char *step_names[] = { "STEP_LANG", "STEP_KBD", "STEP_METHOD", "STEP_DRIVER",
+                           "STEP_DRIVERDISK", "STEP_NETWORK", "STEP_IFACE",
+                           "STEP_IP", "STEP_EXTRAS", "STEP_DONE" };
 
     char *ret = NULL, *devName = NULL, *kbdtype = NULL;
     static iface_t iface;
@@ -1267,6 +1270,8 @@ static void doLoaderMain(struct loaderData_s *loaderData,
     }
 
     while (step != STEP_DONE) {
+        logMessage(DEBUGLVL, "in doLoaderMain, step = %s", step_names[step]);
+
         switch(step) {
             case STEP_LANG: {
                 if (loaderData->lang && (loaderData->lang_set == 1))
@@ -1462,8 +1467,6 @@ static void doLoaderMain(struct loaderData_s *loaderData,
             }
 
             case STEP_IFACE: {
-                logMessage(INFO, "going to pick interface");
-
                 /* skip configureTCPIP() screen for kickstart (#260621) */
                 if (loaderData->ksFile)
                     flags |= LOADER_FLAGS_IS_KICKSTART;
-- 
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