1 |
On Thursday 22 March 2007, Jakob Buchgraber wrote: |
2 |
> It's as follows: |
3 |
> In /etc/profile |
4 |
> Set $KERNEL_DIR to /kernel/src/current (symlink) |
5 |
> Set $KBUILD_OUTPUT to /dir/to/store/output/files |
6 |
> |
7 |
> So what's the best way and _why_? |
8 |
> Does it even matter? |
9 |
|
10 |
Yes it does matter. And you are using docs from three sources and |
11 |
assuming they apply universally, which they do not. The LFS docs tell |
12 |
you what to do on an LFS system, the gentoo docs tell you what to do on |
13 |
a gentoo system, and the kernel docs are outdated and tell you to avoid |
14 |
making a mistake that doesn't apply to gentoo at all. |
15 |
|
16 |
Many Gentoo scripts rely on /usr/src/linux pointing to the currently |
17 |
*running* kernel. Without it, vmware-modules won't build for example. |
18 |
The kernel headers are nowhere near /usr/src so the warning in kernel |
19 |
docs is irrelevant. |
20 |
|
21 |
I'm not sure how LFS does these things, but you should take their docs |
22 |
seriously when working on one of their boxes |
23 |
|
24 |
alan |
25 |
|
26 |
-- |
27 |
Optimists say the glass is half full, |
28 |
Pessimists say the glass is half empty, |
29 |
Developers say wtf is the glass twice as big as it needs to be? |
30 |
|
31 |
Alan McKinnon |
32 |
alan at linuxholdings dot co dot za |
33 |
+27 82, double three seven, one nine three five |
34 |
-- |
35 |
gentoo-user@g.o mailing list |