diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-11-12 15:57:17 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-11-12 15:57:17 +0000 |
commit | 76f16368ae92051e6803d7490d5c6329e2b84713 (patch) | |
tree | 6be4d645b913d51bf1a921709cd4cb05c3319c45 /bootloader.py | |
parent | 20de3c4b1a02a7133a96f19e6c964a55175b2b45 (diff) | |
download | anaconda-76f16368ae92051e6803d7490d5c6329e2b84713.tar.gz anaconda-76f16368ae92051e6803d7490d5c6329e2b84713.tar.xz anaconda-76f16368ae92051e6803d7490d5c6329e2b84713.zip |
2004-11-12 Jeremy Katz <katzj@redhat.com>
* bootloader.py: Add patch from HJ Lu to fix popping hang in cases
where boot loader isn't being installed (#138932)
* packages.py (copyAnacondaLogs): Copy in the X log too per
pnasrat's request.
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py index 07707571c..6d0d38981 100644 --- a/bootloader.py +++ b/bootloader.py @@ -127,6 +127,8 @@ def writeBootloader(intf, instRoot, fsset, bl, langs, comps): if kernelLabel is None: log("unable to find default image, bailing") + if not justConfigFile: + w.pop() return plainLabelUsed = 0 @@ -155,9 +157,11 @@ def writeBootloader(intf, instRoot, fsset, bl, langs, comps): try: bl.write(instRoot, fsset, bl, langs, kernelList, otherList, defaultDev, justConfigFile, intf) - w.pop() + if not justConfigFile: + w.pop() except BootyNoKernelWarning: - w.pop() + if not justConfigFile: + w.pop() if intf: intf.messageWindow(_("Warning"), _("No kernel packages were installed on your " |