[CentOS-devel] kmod packaging guideline

Alan Bartlett ajb.stxsl at googlemail.com
Sun Dec 21 14:50:27 UTC 2008


2008/12/20 Farkas Levente <lfarkas at lfarkas.org>

>
> kmodtool shouldn't have to add to all packages rather use the
> /usr/lib/rpm/redhat/kmodtool from redhat-rpm-config ie:
> ----------------------------------------------
> @@ -1,7 +1,6 @@
> -Source10: kmodtool
>  Source11: find-requires
>  Source12: find-requires.ksyms
> -%define   kmodtool bash %{SOURCE10}
> +%define   kmodtool bash /usr/lib/rpm/redhat/kmodtool
> ----------------------------------------------
> and add:
> BuildRequires:  redhat-rpm-config


Quick question. Have you considered how you proposal can be used with
CentOS-4 rather than CentOS-5?

There is no C-4 /usr/lib/rpm/redhat/kmodtool -- unless I am mistaken. So to
implement what you have proposed will cause a divergence of technique -- C-4
this way, C-5 that way. Not a good idea. :-(

Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20081221/b12dfa3c/attachment.html>


More information about the CentOS-devel mailing list