Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Pending Removal of $KV
Date: Tue, 20 Jun 2006 11:52:26
Message-Id: 20060620114739.GA8972@lion.gg3.net
In Reply to: Re: [gentoo-dev] Pending Removal of $KV by Ryan Tandy
1 maillog: 19/06/2006-16:34:55(-0700): Ryan Tandy types
2 > Arek (James Potts) wrote:
3 > >If they don't actually build against the kernel,
4 > >couldn't/shouldn't they look at either kernel-headers or the output of
5 > >`uname -r`?
6 >
7 > Kernel headers being the virtual/linux-headers dependency that Georgi
8 > mentioned. `uname -r` works, but is annoying because you can't build
9 > for a kernel other than the one you're running.
10
11 Just to make sure we're talking about the same thing, I did not mention
12 any headers (refer to my original post below).
13
14 maillog: 20/06/2006-00:34:42(+0900): çÅÏÒÇÉ çÅÏÒÇÉÅ× types
15 > maillog: 19/06/2006-11:13:33(+0000): Alec Warner types
16 > > Portage currently exports $KV as the current kernel version. We detect
17 > > this by attempting to mess around with the things in /usr/src/linux
18 > > (.config, make files, etc...)
19 > >
20 > > This is duplicating the superb efforts of the kernel team and of
21 > > linux-info eclass. As such I would like to deprecate $KV in favor of
22 > > using linux-info eclass. I don't see the need for portage to export $KV
23 > > into the environment for all packages.
24 > >
25 > > There are a few packages left that use this. There will be a tracker
26 > > bug shortly. Mostly this mail is just a heads up ;)
27 >
28 > But any kind of checks against something in $KERNEL_DIR are just wrong,
29 > wrong, wrong. The only exception being when the ebuild is building
30 > something *against* those sources (kernel modules, and that's it).
31 >
32 > It's annoying to have virtual/linux-sources pulled as a dep of gnupg,
33 > iptables or any other package that can do fine without them.
34
35 --
36 ( Georgi Georgiev ( Like all young men, you greatly exaggerate (
37 ) chutz@×××.net ) the difference between one young woman and )
38 ( http://www.gg3.net/ ( another. -- George Bernard Shaw, "Major (
39 ) ------------------- ) Barbara" )
40 --
41 gentoo-dev@g.o mailing list