diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | bootloader.py | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2006-05-18 Jeremy Katz <katzj@redhat.com> + * bootloader.py: Window isn't always there. + * anaconda (Anaconda.setMethod): We need bootloader on CDs. 2006-05-18 Paul Nasrat <pnasrat@redhat.com> diff --git a/bootloader.py b/bootloader.py index 05699c277..0ac30bc12 100644 --- a/bootloader.py +++ b/bootloader.py @@ -147,7 +147,7 @@ def writeBootloader(anaconda): else: otherList.append((label, longlabel, dev)) - if kernelLabel is None and not flags.livecd: + if kernelLabel is None and not flags.livecd: # FIXME log.error("unable to find default image, bailing") if not justConfigFile: w.pop() @@ -196,7 +196,9 @@ def writeBootloader(anaconda): _("No kernel packages were installed on your " "system. Your boot loader configuration " "will not be changed.")) - w.pop() + + if not justConfigFile: + w.pop() dosync() # return instance of the appropriate bootloader for our arch |