from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id 5598A16F03
	for <jm@localhost>; Wed,  2 Oct 2002 11:44:55 +0100 (IST)
from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Wed, 02 Oct 2002 11:44:55 +0100 (IST)
from egwn.net (ns2.egwn.net [193.172.5.4]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g928DqK32287 for
    <jm-rpm@jmason.org>; Wed, 2 Oct 2002 09:13:52 +0100
from python (80-24-132-206.uc.nombres.ttd.es [80.24.132.206])
    (authenticated) by egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id
    g9289Pf04600 for <rpm-list@freshrpms.net>; Wed, 2 Oct 2002 10:09:25 +0200
Re: alsa-driver.spec tweak for homemade kernels
From rpm-list-admin@freshrpms.net  Wed Oct  2 11:44:56 2002

Once upon a time, Ben wrote :
> I use a mostly Red Hat 8.0 system, but prefer to configure and build my
> kernel by hand.  I'd like to humbly offer a tweak to alsa-driver.spec
> that helps it build cleanly under such circumstances.  I recognize that
> freshrpms.net packages are designed with standard Red Hat in mind,
> including a standard kernel RPM.  However, I hope that Matthias will
> consider the tweak small enough to justify its incorporation.
Well, I don't really find it consistent at all to use an rpm package built
against something that wasn't installed through rpm :-/
What I'd recommend in your case : You should keep at least one original Red
Hat Linux kernel (you do just in case, right? ;-)) and install the matching
alsa-kernel package as you'll need at least one because of the
dependencies. Then for your custom built kernel, simply "./configure
--with-cards=all && make && make install DESTDIR=/tmp/alsa-driver" from the
alsa-driver sources then as root copy all the modules under
/tmp/alsa-driver/lib/modules/ to your modules dir and run "depmod -a".
Of course you can even make it much faster by not compiling all un-needed
drivers, as I guess that's one of the reasons one would rebuild his own
kernel.
I find this the easiest and cleanest way to get around the problem. It's
what I've done and what I'll keep doing on my laptop where I'm running a
kernel recompiled with ACPI.
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 7.3 (Valhalla) running Linux kernel 2.4.18-10acpi
Load : 0.00 0.02 0.00
_______________________________________________
RPM-List mailing list <RPM-List@freshrpms.net>
http://lists.freshrpms.net/mailman/listinfo/rpm-list