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

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