[PATCH rhel6-branch master] During an update don't erase old kernels (#594411)

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

 



installonlypkgs lists the names of the kernel packages to install
in parallel, not upgrade. It needs to be left alone during upgrades.

Resolves: rhbz#594411
---
 yuminstall.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 99e2ddc..ce1f898 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -402,7 +402,8 @@ class AnacondaYum(YumSorter):
                 self.anaconda.methodstr = self.anaconda.intf.methodstrRepoWindow(self.anaconda.methodstr or "cdrom:")
 
         self.doConfigSetup(root=self.anaconda.rootPath)
-        self.conf.installonlypkgs = []
+        if not self.anaconda.id.getUpgrade():
+            self.conf.installonlypkgs = []
 
     def _switchCD(self, discnum):
         if os.access("%s/.discinfo" % self.tree, os.R_OK):
-- 
1.7.0.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