[Yum-devel] [PATCH] The kernel packages are special, so skip normal processing. BZ 678969
seth vidal
skvidal at fedoraproject.org
Mon Feb 21 19:42:45 UTC 2011
On Mon, 2011-02-21 at 14:28 -0500, James Antill wrote:
> ---
> yum/__init__.py | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/yum/__init__.py b/yum/__init__.py
> index 4d185ff..d29f426 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -1029,6 +1029,11 @@ class YumBase(depsolve.Depsolve):
> for txmbr in txmbrs:
> if kern_pkgtup is not None and txmbr.pkgtup == kern_pkgtup:
> pass
> + elif kern_pkgtup is not None and txmbr.name == kern_pkgtup[0]:
> + # We don't care if they've explicitly set protected on the
> + # kernel package. Because we don't allow you to uninstall the
> + # running one so it has _special_ semantics anyway.
> + continue
> elif txmbr.name not in protected:
> continue
> if txmbr.name not in bad_togo:
ACK
-sv
More information about the Yum-devel
mailing list