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?

-- 
/    Georgi Georgiev   /  Your job is being a professor and            /
\     [EMAIL PROTECTED]    \  researcher: That's one hell of a good        \
/   +81(90)2877-8845   /  excuse for some of the brain-damages of      /
\  ------------------- \  minix. (Linus Torvalds to Andrew             \
/  ------------------- /  Tanenbaum)                                   /
--
[email protected] mailing list

Reply via email to