Blame SOURCES/BZ-801067-remove-kernel-modules-from-installonly.patch

82b73e
diff -ru yum-3.2.29-orig/docs/yum.conf.5 yum-3.2.29/docs/yum.conf.5
82b73e
--- yum-3.2.29-orig/docs/yum.conf.5	2011-01-13 15:39:30.778001529 -0500
82b73e
+++ yum-3.2.29/docs/yum.conf.5	2011-01-13 15:41:07.361948839 -0500
82b73e
@@ -150,12 +150,15 @@
82b73e
 \fBinstallonlypkgs \fR
82b73e
 List of package provides that should only ever be installed, never updated.
82b73e
 Kernels in particular fall into this category. Defaults to kernel,
82b73e
-kernel-bigmem, kernel-enterprise, kernel-smp, kernel-modules, kernel-debug, 
82b73e
+kernel-bigmem, kernel-enterprise, kernel-smp, kernel-debug, 
82b73e
 kernel-unsupported, kernel-source, kernel-devel, kernel-PAE, kernel-PAE-debug.
82b73e
 
82b73e
 Note that because these are provides, and not just package names, kernel-devel
82b73e
 will also apply to kernel-debug-devel, etc.
82b73e
 
82b73e
+Note that "kernel-modules" is \fBnot\fR in this list, in RHEL-6, and so anything
82b73e
+providing that is updated like any other package.
82b73e
+
82b73e
 .IP
82b73e
 \fBinstallonly_limit \fR
82b73e
 Number of packages listed in installonlypkgs to keep installed at the same
82b73e
diff -ru yum-3.2.29-orig/yum/config.py yum-3.2.29/yum/config.py
82b73e
--- yum-3.2.29-orig/yum/config.py	2011-01-13 15:39:30.772959957 -0500
82b73e
+++ yum-3.2.29/yum/config.py	2011-01-13 15:40:16.919033640 -0500
82b73e
@@ -648,7 +648,7 @@
82b73e
     installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
82b73e
                                   'installonlypkg(kernel-module)',
82b73e
                                   'installonlypkg(vm)',
82b73e
-            'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
82b73e
+            'kernel-enterprise','kernel-smp', 'kernel-debug',
82b73e
             'kernel-unsupported', 'kernel-source', 'kernel-devel', 'kernel-PAE',
82b73e
             'kernel-PAE-debug'])
82b73e
     # NOTE: If you set this to 2, then because it keeps the current kernel it