[packagers] dkms for kernel-foo

Akemi Yagi amyagi at gmail.com
Thu Aug 23 18:35:58 CEST 2007


On 8/21/07, Christoph Maser <cmr at financial.com> wrote:
>
> Am Mittwoch, den 22.08.2007, 02:02 +0200 schrieb Akemi Yagi:
- Show quoted text -
> > Hi Dag,
> >
> > dkms has kernel-devel as a requirement:
> >
> > Requires: bash > 1.99, kernel-devel
> >
> > This is fine for the standard kernel.  However, in RHEL/CentOS, there
> > are other types of kernels such as kernel-xen and kernel-PAE.  In
> > these kernels, dkms fails to pull in the -devel rpm (e.g.
> > kernel-xen-devel).  Is there any way to get around this?
> >
> > Akemi
> > (toracat on irc)
>
> > all those different kernel-devel-packages "provide" kernel-devel. If you
> try "yum provides kernel-devel" you will see all packages wich provide
> it.
>
> Chris

Looks like this is not an easy issue. I am pasting some notes from the
centos-devel IRC for the record.

<range>    toracat: I don't see a viable solution for that problem.
<range>    At least not if you're using kernel-xen or kernel-PAE.
<range>    *OR* you build dkms-xen, dkms-PAE and so on and let those
require kernel-xen-devel, kernel-PAE-devel ...
<dag>      toracat: I don't think that problem is solvable :/
<dag>      I guess that's where Suggests or conditional requirements
would come in
<range>    Suggests won't help, conditional requires would.
<range>    But ...
<toracat>  "OR" in the Requires ?
<range>    toracat: As those *ALL* provide kernel-devel, you won't win
much with that. And there is no "OR" there either.
<dag>      range: you could do at least something like: (kernel-devel
and kernel-pae-devel) or (kernel-devel and kernel-vm-devel)
<dag>      not that I think this is particularly clever
<range>    dag: Well, it won't pull in the related kernels, but ...

Akemi
(toracat)


More information about the packagers mailing list