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

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



Ack.

On 07/01/2010 02:26 AM, Brian C. Lane wrote:
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):


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