[Yum-devel] [PATCH] Add documentation about installonly yumdb attr.
Seth Vidal
skvidal at fedoraproject.org
Mon Sep 21 20:44:46 UTC 2009
On Mon, 21 Sep 2009, James Antill wrote:
> ---
> docs/yum.conf.5 | 3 +++
> yum/__init__.py | 1 +
> 2 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
> index 6295b1e..8976b0c 100644
> --- a/docs/yum.conf.5
> +++ b/docs/yum.conf.5
> @@ -128,6 +128,9 @@ Number of packages listed in installonlypkgs to keep installed at the same
> time. Setting to 0 disables this feature. Default is '0'. Note that this
> functionality used to be in the "installonlyn" plugin, where this option was
> altered via. tokeep.
> +Note that as of version 3.2.24, yum will now look in the yumdb for a installonly
> +attribute on installed packages. If that attribute is "keep", then they will
> +never be removed.
>
> .IP
> \fBkernelpkgnames \fR
> diff --git a/yum/__init__.py b/yum/__init__.py
> index c1e2c3b..90cdf8d 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -3865,6 +3865,7 @@ class YumBase(depsolve.Depsolve):
>
> if True: # Don't to magic sorting, yet
> ret_mid.append(pkg)
> + continue
This looks wrong - is it supposed to be indented like this?
-sv
More information about the Yum-devel
mailing list