From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MhgWB-0007cY-6E for garchives@archives.gentoo.org; Sun, 30 Aug 2009 09:16:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2192E08E5; Sun, 30 Aug 2009 14:25:08 +0000 (UTC) Received: from mail-qy0-f178.google.com (mail-qy0-f178.google.com [209.85.221.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A612E08E5 for ; Sun, 30 Aug 2009 14:25:08 +0000 (UTC) Received: by qyk8 with SMTP id 8so2802452qyk.2 for ; Sun, 30 Aug 2009 07:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type; bh=gsQ4tCb7zM994GLs+YVz4P9ScdeVBb/Kc/SMPvksmB0=; b=I+DJW3I9hTtnjL4Iwv82L5/I0ODe4pjIkUuZ50PrLSzQDKPvFKW1NZ5+2Uvufxrmft sbCyugoCErWGlFO3vF6q0Buun//bW8mkDN4U6iQUEuRW7Lw6ye4v3A+bKRa4FVGQGEU1 vSK5eWDIwOZMLcEmkaMbvlEF5W6b3Nf1S1eP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=ax81tdDNBQF0/YRy72XhLEKZ8R4jIB4emvRYWrXLu2CdCxeqx1VluwS99+oR87Zb2Z opfHnmXWP7lC2ZBlK9Glu33I6JQGsUsRoVT/3faudc0l1+eOI+g6cSXuja97QQu0q7Vx gMPgvlnasGYCPPfpCTdmaL00b/ll53JrB0HtU= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: arunissatan@gmail.com Received: by 10.229.15.75 with SMTP id j11mr1253239qca.69.1251642307278; Sun, 30 Aug 2009 07:25:07 -0700 (PDT) In-Reply-To: <200908301611.53087.zzam@gentoo.org> References: <200908301611.53087.zzam@gentoo.org> From: Arun Raghavan Date: Sun, 30 Aug 2009 19:54:47 +0530 X-Google-Sender-Auth: b3ee0674035adf46 Message-ID: <6f8b45100908300724h206273b0i9f36cbdf8ef9d271@mail.gmail.com> Subject: Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: f45222e6-8437-40e1-98bd-fa7622bcaf76 X-Archives-Hash: db1075a40ca83a2cd234bef472a914de 2009/8/30 Matthias Schwarzott : > Hi there! > > The new udev-145 and newer have some new kernel requirements. How should the > ebuild verify they are met? > Some possible ways: > 1. Check config under /usr/src/linux > 2. Check /proc/config.gz > 3. Print message for user in pkg_postinst All of the above? Rationale being (1) is required to check against the kernel you're supposedly using, (2) for the kernel you definitely are using, and (3) to make sure people remember. An alternative to (2) and (3), though is to add a check to the udev initscript. Cheers, -- Arun Raghavan http://arunraghavan.net/ (Ford_Prefect | Gentoo) & (arunsr | GNOME)