[Fedora-packaging] Kernel modules (was: Re: tpctl in extras missing dependancy for kernel-module-thinkpad)

Tom 'spot' Callaway tcallawa at redhat.com
Thu Jun 30 12:36:15 UTC 2005

On Thu, 2005-06-30 at 00:06 -0400, Jack Neely wrote:
> Folks,
> Attached is a patch that implements some of the kernel magic needed by
> Yum to work with kernel modules as decided on fedora-packaging-list.
> This keys off of kernel modules requiring
>     kernel-%{_target_cpu} = %{kver}
> Couple points of note:
> * You must still have your kernel modules provide "kernel-modules" to
>   enable the install only behavior.  However, the code uses the package
>   name "kernel-module-foo" to identify if this is a kernel module.
> * The next question is when you do "yum install kernel-module-openafs" 
>   which packages do we apply to the system?  Not covered by this patch.

As far as I'm concerned, we look at what kernels are on the system (in
the rpmdb), and try our best to match them all against the
kernel-module-openafs packages in the repo. When we find a kernel for
which no kernel-module-openafs package exists in the repo, we throw a
warning, but don't exit, and install the ones we do find matches for.

Warning: No kernel-module-openafs package was found for

I really can't think of a situation in which we would not want to
install an addon kernel-module for all kernels installed via rpm.

Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!

More information about the Fedora-packaging mailing list