[PATCH f14 master] Remove old kernels with new bootloader (#633234)

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

 



NOTE: I've tested this against f13 to f14 update with new bootloader and with upgrade bootloader. Works fine.

This fixes 0783c488cdda8e7157511df1365ccc5ec95a2d33 so that old kernels
are removed only when a new bootloader is installed, but not for a
bootloader upgrade.
---
 pyanaconda/yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 876a843..11f014a 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -408,7 +408,7 @@ class AnacondaYum(YumSorter):
                 self.anaconda.methodstr = self.anaconda.intf.methodstrRepoWindow(self.anaconda.methodstr or "cdrom:")
 
         self.doConfigSetup(root=self.anaconda.rootPath)
-        if not self.anaconda.upgrade:
+        if not self.anaconda.bootloader.doUpgradeOnly:
             self.conf.installonlypkgs = []
 
     def _switchCD(self, discnum):
-- 
1.7.2.2

_______________________________________________
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