[PATCH] Log that we are running %pre scripts to the console (#640256).

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

 



We'll never have anaconda.intf set before calling runPreScripts, so the
most we can offer is a simple print.
---
 pyanaconda/kickstart.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 8a2c571..8df032e 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -57,6 +57,7 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
 import logging
 log = logging.getLogger("anaconda")
 stderrLog = logging.getLogger("anaconda.stderr")
+stdoutLog = logging.getLogger("anaconda.stdout")
 from anaconda_log import logger, logLevelMap, setHandlersLevel,\
     DEFAULT_TTY_LEVEL
 
@@ -1335,10 +1336,8 @@ def runPreScripts(anaconda, scripts):
         return
 
     log.info("Running kickstart %%pre script(s)")
-    if anaconda.intf is not None:
-        w = anaconda.intf.waitWindow(_("Pre-Installation"),
-                            _("Running pre-installation scripts"))
-    
+    stdoutLog.info(_("Running pre-installation scripts"))
+
     map (lambda s: s.run("/", flags.serial, anaconda.intf), preScripts)
 
     log.info("All kickstart %%pre script(s) have been run")
-- 
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