1 |
On Wednesday 13 April 2005 23:17, Georgi Georgiev wrote: |
2 |
> maillog: 13/04/2005-22:13:19(+0900): Jason Stubbs types |
3 |
> |
4 |
> > On Wednesday 13 April 2005 22:06, Mike Frysinger wrote: |
5 |
> > > On Wednesday 13 April 2005 06:44 am, Martin MOKREJŠ wrote: |
6 |
> > > > I'm not sure how to block the ebuild when user is running 2.6 |
7 |
> > > > kernel (uname(1)?), of when the /usr/src/linux points to 2.6 kernel |
8 |
> > > > ... or just to check whether gentoo-sources or vanila-sources of 2.4 |
9 |
> > > > version are installed? |
10 |
> > > |
11 |
> > > put this into pkg_setup(): |
12 |
> > > [[ ${KV:0:3} == "2.6" ]] && die "Sorry, this package doesnt support 2.6 |
13 |
> > > kernels" |
14 |
> > |
15 |
> > Better to use the kernel groups eclass of the month for this one. The |
16 |
> > defining of $KV will likely be removed from portage down the track. |
17 |
> |
18 |
> You're talking about linux-info and linux-mod, right? |
19 |
|
20 |
Yeah, linux-info would be the one. I don't literally mean "of the month" |
21 |
above, btw. s/month/year/ would be closer ;) |
22 |
|
23 |
Regards, |
24 |
Jason Stubbs |
25 |
|
26 |
-- |
27 |
gentoo-dev@g.o mailing list |