RFC: kernel-modules in Fedora Extras

Ville Skyttä ville.skytta at iki.fi
Sun Jan 22 13:01:01 UTC 2006


On Fri, 2006-01-20 at 18:24 +0100, Thorsten Leemhuis wrote:

> /me really would like to avoid constructs like
> 
> if [ -n "${kvariant#up}" ] ; then
>   ....
> else
>   ....
> fi
> 
> It looks really a lot nicer without them IMHO.

Well, the alternatives with the same functionailty looked much worse in
my opinion :)

> And, btw, do we really want to support both "up" and "" to build modules
> for the standard kernel

I don't think that's necessary any more.  Maybe some older
implementations required it, dunno.

Newest versions with "up" == "" support removed and the cleanups made
possible by that done (as well as some unneeded bashisms removed):

http://cachalot.mine.nu/5/SRPMS/thinkpad-kmod-5.8-9.2.6.14_1.1656_FC4.src.rpm
http://cachalot.mine.nu/5/SRPMS/lirc-kmod-0.8.0-1.2.6.15_1.1864_FC5.src.rpm

lirc is in much better shape now, it got a upstream version bump and
adjustments for 2.6.16-rc.  thinkpad still doesn't compile on Rawhide,
but diff from it attached because it's more to the point for the purpose
of this discussion.

Unless there are objections, I'd like to go ahead and commit the above
packages plus the -common ones to CVS.  Obviously, no builds yet,
buildsys still needs some work to be able to produce the kmod packages
we're expecting.

By the way, in case everyone's not aware of it yet, there are two newish
bugs that have an effect on packaging and using the kmod* packages:

- yum's installonlyn plugin apparently disregards dependencies:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176257
- missing .kernelrelease file in Rawhide kernel-devel packages:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178491

-------------- next part --------------
A non-text attachment was scrubbed...
Name: thinkpad-kmod.patch
Type: text/x-patch
Size: 3775 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060122/ccb02089/attachment.bin>


More information about the fedora-extras-list mailing list