From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3DEajsR028739 for ; Wed, 13 Apr 2005 14:36:45 GMT Received: from p061198130140.ppp.prin.ne.jp ([61.198.130.140] helo=linux.box) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DLiyp-0005cJ-1e for gentoo-dev@lists.gentoo.org; Wed, 13 Apr 2005 14:36:36 +0000 Received: by linux.box (Postfix, from userid 1000) id 6191946DEF; Wed, 13 Apr 2005 23:36:27 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New net-fs/openafs ebuild Date: Wed, 13 Apr 2005 23:36:26 +0900 User-Agent: KMail/1.8 References: <425CF818.5080700@ribosome.natur.cuni.cz> <200504132213.19918.jstubbs@gentoo.org> <20050413141746.GA9808@lion.gg3.net> In-Reply-To: <20050413141746.GA9808@lion.gg3.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <200504132336.26567.jstubbs@gentoo.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j3DEajsR028739 X-Archives-Salt: 32ea8708-db58-4118-a53a-cb518db90c76 X-Archives-Hash: bd95e10879d36e2a466ad13155d0fef1 On Wednesday 13 April 2005 23:17, Georgi Georgiev wrote: > maillog: 13/04/2005-22:13:19(+0900): Jason Stubbs types > > > On Wednesday 13 April 2005 22:06, Mike Frysinger wrote: > > > On Wednesday 13 April 2005 06:44 am, Martin MOKREJŠ wrote: > > > > I'm not sure how to block the ebuild when user is running 2.6 > > > > kernel (uname(1)?), of when the /usr/src/linux points to 2.6 kernel > > > > ... or just to check whether gentoo-sources or vanila-sources of 2.4 > > > > version are installed? > > > > > > put this into pkg_setup(): > > > [[ ${KV:0:3} == "2.6" ]] && die "Sorry, this package doesnt support 2.6 > > > kernels" > > > > Better to use the kernel groups eclass of the month for this one. The > > defining of $KV will likely be removed from portage down the track. > > You're talking about linux-info and linux-mod, right? Yeah, linux-info would be the one. I don't literally mean "of the month" above, btw. s/month/year/ would be closer ;) Regards, Jason Stubbs -- gentoo-dev@gentoo.org mailing list