Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Pending Removal of $KV
Date: Mon, 19 Jun 2006 15:39:18
Message-Id: 20060619153442.GA99392@lion.gg3.net
In Reply to: [gentoo-dev] Pending Removal of $KV by Alec Warner
1 maillog: 19/06/2006-11:13:33(+0000): Alec Warner types
2 > Portage currently exports $KV as the current kernel version. We detect
3 > this by attempting to mess around with the things in /usr/src/linux
4 > (.config, make files, etc...)
5 >
6 > This is duplicating the superb efforts of the kernel team and of
7 > linux-info eclass. As such I would like to deprecate $KV in favor of
8 > using linux-info eclass. I don't see the need for portage to export $KV
9 > into the environment for all packages.
10 >
11 > There are a few packages left that use this. There will be a tracker
12 > bug shortly. Mostly this mail is just a heads up ;)
13
14 But any kind of checks against something in $KERNEL_DIR are just wrong,
15 wrong, wrong. The only exception being when the ebuild is building
16 something *against* those sources (kernel modules, and that's it).
17
18 It's annoying to have virtual/linux-sources pulled as a dep of gnupg,
19 iptables or any other package that can do fine without them.
20
21 --
22 / Georgi Georgiev / Don't quit now, we might just as well lock /
23 \ chutz@×××.net \ the door and throw away the key. \
24 / http://www.gg3.net/ / /
25 --
26 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Pending Removal of $KV Alec Warner <antarus@g.o>