RFC: kernel-modules in Fedora Extras

Ville Skyttä ville.skytta at iki.fi
Tue Jan 17 20:05:27 UTC 2006


On Mon, 2006-01-16 at 19:15 +0100, Thorsten Leemhuis wrote:

> Should we have add a %{?kmod_per_package_add-on} into the output that
> get_rpmtemplate creates?

Urk, yes, I've considered stuff like that too, but hated it enough to
not even suggest it ;)

I hope and believe these things can be taken care of in the userspace
$foo-common package, possibly using triggers if absolutely needed and if
nothing else works.

> Take for example the nvidia-drivers of a well known 3rd party repo: they
> currently have a
> Conflicts:  kernel-module-nvidia-legacy-%{kernel}
> in them -- that would not be possible with the new scheme and that
> sounds like a problem to me.

Isn't it enough to make the userspace packages (ones providing
nvidia-glx-common and nvidia-glx-legacy-common) conflict with each
other?

> They also have some special things for %pre and %post which lead to the
> question: Do we also need something like 
> %{?kmod_per_package_add-on_pre}
> %{?kmod_per_package_add-on_postun}

...and the same for preun, post, pretrans, posttrans, triggerprein,
triggerin, triggerun, triggerpostun...

> > [URLs to sample packages]
>
> Creat, thanks! Looks quite good.

Ok, next round: added RHEL4 compatibility (packaging-wise, not code).
Informational patches to kmodtool and lirc-kmod.spec attached,
containing only the essential changes that were made to accomplish this.

http://cachalot.mine.nu/5/SRPMS/lirc-kmod-0.8.0-0.9.pre4.2.6.15_1.1858_FC5.src.rpm
http://cachalot.mine.nu/5/SRPMS/thinkpad-kmod-5.8-8.2.6.14_1.1656_FC4.src.rpm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmodtool.patch
Type: text/x-patch
Size: 1187 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060117/c824f819/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spec.patch
Type: text/x-patch
Size: 1408 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060117/c824f819/attachment-0001.bin>


More information about the fedora-extras-list mailing list