[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] 469171 - calling newtWinMessage before startNewt
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH] 469171 - calling newtWinMessage before startNewt
- Date: Thu, 30 Oct 2008 10:45:47 -0400
Is there any reason we can't just call startNewt a lot earlier in main
instead of playing the game of calling it as-needed a million other
places?
- Chris
diff --git a/loader/loader.c b/loader/loader.c
index 991b3c5..fa8fa69 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1226,9 +1226,6 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
}
installNames[numValidMethods] = NULL;
- if (!FL_CMDLINE(flags))
- startNewt();
-
/* Before anything else, see if there's a CD/DVD with a stage2 image on
* it. However if stage2= was given, use that value as an override here.
* That will also then bypass any method selection UI in loader.
@@ -1906,11 +1903,11 @@ int main(int argc, char ** argv) {
/* FIXME: this is a bit of a hack */
loaderData.modInfo = modInfo;
- if (FL_MODDISK(flags)) {
+ if (!FL_CMDLINE(flags))
startNewt();
+ if (FL_MODDISK(flags))
loadDriverDisks(DEVICE_ANY, &loaderData);
- }
if (!access("/dd.img", R_OK)) {
logMessage(INFO, "found /dd.img, loading drivers");
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]