From rpm-list-admin@freshrpms.net Wed Oct 2 11:44:56 2002 Return-Path: Delivered-To: yyyy@localhost.example.com Received: from localhost (jalapeno [127.0.0.1]) by jmason.org (Postfix) with ESMTP id 5598A16F03 for ; Wed, 2 Oct 2002 11:44:55 +0100 (IST) Received: 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) Received: 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 ; Wed, 2 Oct 2002 09:13:52 +0100 Received: from auth02.nl.egwn.net (localhost [127.0.0.1]) by egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id g928A2f07451; Wed, 2 Oct 2002 10:10:02 +0200 Received: 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 ; Wed, 2 Oct 2002 10:09:25 +0200 From: Matthias Saou To: rpm-zzzlist@freshrpms.net Subject: Re: alsa-driver.spec tweak for homemade kernels Message-Id: <20021002100919.2e3168a8.matthias@rpmforge.net> In-Reply-To: <3D9AA650.2000909@eecs.berkeley.edu> References: <3D9AA650.2000909@eecs.berkeley.edu> Organization: freshrpms.net / rpmforge.net X-Mailer: Sylpheed version 0.8.3claws (GTK+ 1.2.10; i386-redhat-linux) X-Operating-System: Red Hat GNU/Linux forever! X-Subliminal-Message: Use Linux... use Linux... use Linux... MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailscanner: Found to be clean, Found to be clean Sender: rpm-zzzlist-admin@freshrpms.net Errors-To: rpm-zzzlist-admin@freshrpms.net X-Beenthere: rpm-zzzlist@freshrpms.net X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: rpm-zzzlist@freshrpms.net List-Help: List-Post: List-Subscribe: , List-Id: Freshrpms RPM discussion list List-Unsubscribe: , List-Archive: X-Original-Date: Wed, 2 Oct 2002 10:09:19 +0200 Date: Wed, 2 Oct 2002 10:09:19 +0200 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,IN_REP_TO,KNOWN_MAILING_LIST,NOSPAM_INC, QUOTED_EMAIL_TEXT,RCVD_IN_RFCI,REFERENCES, REPLY_WITH_QUOTES,SIGNATURE_SHORT_SPARSE version=2.50-cvs X-Spam-Level: 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 http://lists.freshrpms.net/mailman/listinfo/rpm-list