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

--
[email protected] mailing list

Reply via email to