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

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