From: rpm-list-admin@freshrpms.net  Wed Oct  2 11:45:04 2002
Return-Path: <rpm-zzzlist-admin@freshrpms.net>
Delivered-To: yyyy@localhost.example.com
Received: from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id ECFA016F03
	for <jm@localhost>; Wed,  2 Oct 2002 11:45:03 +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:45:03 +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 g928tEK01164 for
    <jm-rpm@jmason.org>; Wed, 2 Oct 2002 09:55:16 +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 g928q1f03349; Wed, 2 Oct 2002 10:52:01
    +0200
Received: from adsl-63-192-217-110.dsl.snfc21.pacbell.net
    (adsl-63-192-217-110.dsl.snfc21.pacbell.net [63.192.217.110]) by egwn.net
    (8.11.6/8.11.6/EGWN) with ESMTP id g928pYf03254 for
    <rpm-list@freshrpms.net>; Wed, 2 Oct 2002 10:51:35 +0200
Received: from eecs.berkeley.edu (localhost [127.0.0.1]) by
    adsl-63-192-217-110.dsl.snfc21.pacbell.net (Postfix) with ESMTP id
    1F8CB3BA5C for <rpm-list@freshrpms.net>; Wed,  2 Oct 2002 01:51:33 -0700
    (PDT)
Message-Id: <3D9AB394.F7C2C9A4@eecs.berkeley.edu>
From: Ben Liblit <liblit@eecs.berkeley.edu>
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.19 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rpm-zzzlist@freshrpms.net
Subject: Re: alsa-driver.spec tweak for homemade kernels
References: <3D9AA650.2000909@eecs.berkeley.edu>
    <20021002100919.2e3168a8.matthias@rpmforge.net>
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: <mailto:rpm-zzzlist-request@freshrpms.net?subject=help>
List-Post: <mailto:rpm-zzzlist@freshrpms.net>
List-Subscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
    <mailto:rpm-list-request@freshrpms.net?subject=subscribe>
List-Id: Freshrpms RPM discussion list <rpm-zzzlist.freshrpms.net>
List-Unsubscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
    <mailto:rpm-list-request@freshrpms.net?subject=unsubscribe>
List-Archive: <http://lists.freshrpms.net/pipermail/rpm-zzzlist/>
X-Original-Date: Wed, 02 Oct 2002 01:51:32 -0700
Date: Wed, 02 Oct 2002 01:51:32 -0700
X-Spam-Status: No, hits=-3.6 required=5.0
	tests=EMAIL_ATTRIBUTION,KNOWN_MAILING_LIST,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_XM,
	      X_ACCEPT_LANG
	version=2.50-cvs
X-Spam-Level: 

Matthias Saou wrote:
> Well, I don't really find it consistent at all to use an rpm package
> built against something that wasn't installed through rpm :-/

Oh well.  Fair enough.

> What I'd recommend in your case [...]

Ugh, way too much manual labor.  :-)

What I've done instead is to create a tiny little "kernel.spec" that
installs no files but claims to produce a kernel package having version
number `uname -r` for architecture `uname -p`.  It also claims to
provide kernel-sources at the same version.  That is enough to make
alsa-driver.spec happy, and at least forms a reasonable representation
of what my homemade kernel provides to the system.  I should have
thought of this approach sooner.

_______________________________________________
RPM-List mailing list <RPM-List@freshrpms.net>
http://lists.freshrpms.net/mailman/listinfo/rpm-list


