rpms/yum/devel installonlyn-enable.patch,1.3,1.4

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Fri Jan 25 05:25:14 UTC 2008


Author: skvidal

Update of /cvs/extras/rpms/yum/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26923

Modified Files:
	installonlyn-enable.patch 
Log Message:
fix up installonlyn-enable patch



installonlyn-enable.patch:

Index: installonlyn-enable.patch
===================================================================
RCS file: /cvs/extras/rpms/yum/devel/installonlyn-enable.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- installonlyn-enable.patch	5 Oct 2007 16:08:25 -0000	1.3
+++ installonlyn-enable.patch	25 Jan 2008 05:24:56 -0000	1.4
@@ -1,22 +1,22 @@
---- yum/config.py~  2007-10-05 12:05:41.000000000 -0400
-+++ yum/config.py   2007-10-05 12:05:41.000000000 -0400
-@@ -497,7 +497,7 @@
-             'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
-             'kernel-unsupported', 'kernel-source', 'kernel-devel', 'kernel-PAE',
-             'kernel-PAE-debug'])
--    installonly_limit = IntOption(0)
-+    installonly_limit = IntOption(2)
+--- yum/config.py	2008-01-22 10:53:00.000000000 -0500
++++ yum/config.py	2008-01-25 00:19:01.000000000 -0500
+@@ -594,7 +594,7 @@
+     # NOTE: If you set this to 2, then because it keeps the current kernel it
+     # means if you ever install an "old" kernel it'll get rid of the newest one
+     # so you probably want to use 3 as a minimum ... if you turn it on.
+-    installonly_limit = PositiveIntOption(0, range_min=2,
++    installonly_limit = PositiveIntOption(3, range_min=2,
+                                           names_of_0=[0, "<off>"])
      kernelpkgnames = ListOption(['kernel','kernel-smp', 'kernel-enterprise',
              'kernel-bigmem', 'kernel-BOOT', 'kernel-PAE', 'kernel-PAE-debug'])
-     exactarchlist = ListOption(['kernel', 'kernel-smp', 'glibc',
---- docs/yum.conf.5~	2007-07-19 16:37:47.000000000 -0400
-+++ docs/yum.conf.5	2007-08-01 19:54:51.000000000 -0400
-@@ -95,7 +95,7 @@ kernel-bigmem, kernel-enterprise, kernel
+--- docs/yum.conf.5	2008-01-24 13:30:23.000000000 -0500
++++ docs/yum.conf.5	2008-01-25 00:19:24.000000000 -0500
+@@ -99,7 +99,7 @@
  
  .IP \fBinstallonly_limit \fR
  Number of packages listed in installonlypkgs to keep installed at the same
 -time. Setting to 0 disables this feature. Default is '0'.
-+time. Setting to 0 disables this feature. Default is '2'.
++time. Setting to 0 disables this feature. Default is '3'.
  
  .IP \fBkernelpkgnames \fR
  List of package names that are kernels. This is really only here for the




More information about the fedora-extras-commits mailing list