RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/scripts/ Makefile.am

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 07 Jun 2011 - 19:30:18 CEST
Message-id: <6C7820BB-C9CC-4E45-8748-3B6C104407F1@mac.com>
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:  pkarlsen@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-cvs@rpm5.org



  • application/pkcs7-signature attachment: smime.p7s
Received on Tue Jun 7 19:30:56 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.