Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New net-fs/openafs ebuild
Date: Wed, 13 Apr 2005 13:13:25
Message-Id: 200504132213.19918.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] New net-fs/openafs ebuild by Mike Frysinger
1 On Wednesday 13 April 2005 22:06, Mike Frysinger wrote:
2 > On Wednesday 13 April 2005 06:44 am, Martin MOKREJ© wrote:
3 > > I'm not sure how to block the ebuild when user is running 2.6 kernel
4 > > (uname(1)?), of when the /usr/src/linux points to 2.6 kernel ... or just
5 > > to check whether gentoo-sources or vanila-sources of 2.4 version are
6 > > installed?
7 >
8 > put this into pkg_setup():
9 > [[ ${KV:0:3} == "2.6" ]] && die "Sorry, this package doesnt support 2.6
10 > kernels"
11
12 Better to use the kernel groups eclass of the month for this one. The defining
13 of $KV will likely be removed from portage down the track.
14
15 Regards,
16 Jason Stubbs
17
18 --
19 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] New net-fs/openafs ebuild Georgi Georgiev <chutz@×××.net>
Re: [gentoo-dev] New net-fs/openafs ebuild "Martin MOKREJŠ" <mmokrejs@×××××××××××××××××××.cz>