diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-03 09:27:29 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-12-03 15:04:35 -0500 |
commit | fb19b46f3a8c23b58241bebf1579b3613cf7b51b (patch) | |
tree | 3561cfb31cf14d3a6f68771d588d03e21d0a969b /bootloader.py | |
parent | a6eb83c0b728a3ab38c8cae35a6096789cec5e8c (diff) | |
download | anaconda-fb19b46f3a8c23b58241bebf1579b3613cf7b51b.tar.gz anaconda-fb19b46f3a8c23b58241bebf1579b3613cf7b51b.tar.xz anaconda-fb19b46f3a8c23b58241bebf1579b3613cf7b51b.zip |
Nothing sets flags.setupFilesystems anymore, so it can go too.
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/bootloader.py b/bootloader.py index 729fe2ca9..5ef6729d4 100644 --- a/bootloader.py +++ b/bootloader.py @@ -139,8 +139,6 @@ def writeBootloader(anaconda): isys.sync() isys.sync() - justConfigFile = not flags.setupFilesystems - if anaconda.id.bootloader.defaultDevice == -1: return @@ -157,9 +155,7 @@ def writeBootloader(anaconda): else: anaconda.id.bootloader.doUpgradeOnly = 0 - # We don't need to let the user know if we're just doing the bootloader. - if not justConfigFile: - w = anaconda.intf.waitWindow(_("Bootloader"), _("Installing bootloader.")) + w = anaconda.intf.waitWindow(_("Bootloader"), _("Installing bootloader.")) kernelList = [] otherList = [] @@ -185,8 +181,7 @@ def writeBootloader(anaconda): if kernelLabel is None: log.error("unable to find default image, bailing") - if not justConfigFile: - w.pop() + w.pop() return plainLabelUsed = 0 @@ -219,18 +214,15 @@ def writeBootloader(anaconda): dosync() try: rc = anaconda.id.bootloader.write(anaconda.rootPath, anaconda.id.bootloader, - kernelList, otherList, defaultDev, - justConfigFile) - if not justConfigFile: - w.pop() + kernelList, otherList, defaultDev) + w.pop() if rc and anaconda.intf: anaconda.intf.messageWindow(_("Warning"), _("There was an error installing the bootloader. " "The system may not be bootable.")) except booty.BootyNoKernelWarning: - if not justConfigFile: - w.pop() + w.pop() if anaconda.intf: anaconda.intf.messageWindow(_("Warning"), _("No kernel packages were installed on the " |