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 |