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 1Mhhln-0002mb-V7 for garchives@archives.gentoo.org; Sun, 30 Aug 2009 10:36:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43BE3E067D; Sun, 30 Aug 2009 15:45:21 +0000 (UTC) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by pigeon.gentoo.org (Postfix) with ESMTP id 27DCAE067D for ; Sun, 30 Aug 2009 15:45:21 +0000 (UTC) Received: from linux1.localdomain ([76.183.49.63]) by cdptpa-omta02.mail.rr.com with ESMTP id <20090830154520784.FNCA6096@cdptpa-omta02.mail.rr.com> for ; Sun, 30 Aug 2009 15:45:20 +0000 Received: by linux1.localdomain (Postfix, from userid 1000) id 4E06B43C03; Sun, 30 Aug 2009 10:45:20 -0500 (CDT) Date: Sun, 30 Aug 2009 10:45:20 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements Message-ID: <20090830154520.GA32569@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <200908301611.53087.zzam@gentoo.org> <8b4c83ad0908300746s345728ekdff7fd710bda566a@mail.gmail.com> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <8b4c83ad0908300746s345728ekdff7fd710bda566a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: b847ef10-e5c7-4c42-95a1-d1197d41c145 X-Archives-Hash: c14543e0e29aaed1c2b1146e862dc5e4 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 30, 2009 at 08:16:47PM +0530, Nirbheek Chauhan wrote: > On Sun, Aug 30, 2009 at 7:41 PM, Matthias Schwarzott wro= te: > > Hi there! > > > > The new udev-145 and newer have some new kernel requirements. How shoul= d 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 > > >=20 > ebuilds usually use linux-info.eclass for this, but that only checks > /usr/src/linux -- although checking /proc/config.gz *as well* would be > better. That change should be made in the eclass. =20 I agree here. The eclass should check /proc/config.gz. Also, another reason to use the eclass is it respects KBUILD_OUTPUT if it is set. If /proc/config.gz is the first thing we check, I don't think we need to bother at all with checking .config since we know the setup of the running kernel. What does everyone think? --=20 William Hubbs gentoo accessibility team lead williamh@gentoo.org --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkqanpAACgkQblQW9DDEZTiBCQCcDkN7YQCT4kT3Zjgf0Dqt95Rw iI4AoLEtdB2OZtKj3rTtzuvnCV9oykJg =QpZ2 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--