1 |
Holly Bostick <motub <at> planet.nl> writes: |
2 |
|
3 |
> I said that the situation of upgrading a kernel with the 'symlink' USE |
4 |
> flag active occurring at the same time as a (particular) program needing |
5 |
> to compile against a configured kernel was not likely to occur all that |
6 |
> often, but I was wrong. It's happened again today, but with a different |
7 |
> program than the ones I normally keep an eye on. |
8 |
|
9 |
> The good thing is that I (think I) see what the problem is. |
10 |
|
11 |
> The problem is that Portage emerges the new kernel before (almost) |
12 |
> everything else, without regard for whether the 'symlink' USE flag is |
13 |
> active, and whether or not any of the other programs proposed to emerge |
14 |
> need to compile against a configured kernel source-- or rather, the |
15 |
> currently-running kernel, which the symlink most likely pointed to |
16 |
> before Portage changed it via a previous emerge. |
17 |
|
18 |
Folks either I'm missing the boat entirely, or this is far simpler |
19 |
than these correspondances indicate. |
20 |
|
21 |
/etc/src contains this: |
22 |
rw-r--r-- 1 root root 0 Aug 24 14:54 .keep |
23 |
lrwxrwxrwx 1 root root 22 Nov 3 16:35 linux -> linux-2.6.13-gentoo-r5 |
24 |
drwxr-xr-x 19 root root 1280 Oct 5 16:42 linux-2.6.12-gentoo-r9 |
25 |
drwxr-xr-x 19 root root 1280 Nov 22 16:21 linux-2.6.13-gentoo-r5 |
26 |
drwxr-xr-x 18 root root 688 Oct 30 01:02 linux-2.6.14-gentoo |
27 |
drwxr-xr-x 18 root root 688 Nov 14 02:45 linux-2.6.14-gentoo-r2 |
28 |
drwxr-xr-x 18 root root 688 Nov 17 21:04 linux-2.6.14.2 |
29 |
|
30 |
|
31 |
But since my symlink is to the 'linux-2.6.13-gentoo-r5' kernel |
32 |
source, that is what all of my packages use as a default to |
33 |
compile against, unless I use some of these techniques that |
34 |
others have listed? Am I correct? |
35 |
|
36 |
I have several kernel-sources later than 'linux-2.6.13-gentoo-r5' |
37 |
some vanilla some gentoo. How would portage know which one to |
38 |
compile against if not the symlink set in /usr/src? |
39 |
|
40 |
Did I miss something or this conversation only relevant if |
41 |
one chooses to set USE flags in lieu of a symlink in /usr/src? |
42 |
|
43 |
Why would you want to control this behavior with a USE flag |
44 |
versus an 'old fashion symlink' in /usr/src? |
45 |
|
46 |
|
47 |
confused............ |
48 |
James |
49 |
|
50 |
-- |
51 |
gentoo-user@g.o mailing list |