kmod-deps is unmaintainable "portably" within rpm code.

The right way to add kmod-deps (and suppor) is to add
to the kernel *.src.rpm and install somewhere.

Then kernel modules built outside of the kernel tree should "opt-in" with

        %{load:/path/to/somewhere/macros.foo}

The paths should be associated with the kernel-module-builder-package,
not defaulted into RPM's search path in /usr/lib/rpm or /etc/rpm.

ANy other approach forces RPM to be rebuilt ANY time there is
a hiccup in buil=d configgery, and is largely unmaintainable
because rpm is *forced* to Get It Right! for all possible cases
all the time.

While RPM is quite good at what it does, there's always something
that needs fiddle-de-dee for some vendor's whims and that requires
some approach to consensus that hasn't happened since forever and
likely will never happen.

hth

73 de Jeff


On Jun 7, 2011, at 9:30 AM, Per Øyvind Karlsen wrote:

>  RPM Package Manager, CVS Repository
>  http://rpm5.org/cvs/
>  ____________________________________________________________________________
> 
>  Server: rpm5.org                         Name:   Per Øyvind Karlsen
>  Root:   /v/rpm/cvs                       Email:  pkarl...@rpm5.org
>  Module: rpm                              Date:   07-Jun-2011 15:30:15
>  Branch: HEAD                             Handle: 2011060713301400
> 
>  Modified files:
>    rpm/scripts             Makefile.am
> 
>  Log:
>    install kmod-deps.sh
> 
>  Summary:
>    Revision    Changes     Path
>    1.82        +1  -1      rpm/scripts/Makefile.am
>  ____________________________________________________________________________
> 
>  patch -p0 <<'@@ .'
>  Index: rpm/scripts/Makefile.am
>  ============================================================================
>  $ cvs diff -u -r1.81 -r1.82 Makefile.am
>  --- rpm/scripts/Makefile.am  28 Apr 2011 15:52:07 -0000      1.81
>  +++ rpm/scripts/Makefile.am  7 Jun 2011 13:30:14 -0000       1.82
>  @@ -56,7 +56,7 @@
>       find-debuginfo.sh find-lang.sh find-prov.pl find-req.pl \
>       find-provides.perl \
>       find-requires.perl getpo.sh http.req \
>  -    javadeps.sh libtooldeps.sh \
>  +    kmod-deps.sh javadeps.sh libtooldeps.sh \
>       mono-find-provides mono-find-requires \
>       check-multiarch-files mkmultiarch \
>       osgideps.pl pkgconfigdeps.sh \
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-...@rpm5.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to