On Thursday 22 March 2007, Jakob Buchgraber wrote:
> It's as follows:
>     In /etc/profile
>         Set $KERNEL_DIR to /kernel/src/current (symlink)
>         Set $KBUILD_OUTPUT to /dir/to/store/output/files
>
> So what's the best way and _why_?
> Does it even matter?

Yes it does matter. And you are using docs from three sources and 
assuming they apply universally, which they do not. The LFS docs tell 
you what to do on an LFS system, the gentoo docs tell you what to do on 
a gentoo system, and the kernel docs are outdated and tell you to avoid 
making a mistake that doesn't apply to gentoo at all.

Many Gentoo scripts rely on /usr/src/linux pointing to the currently 
*running* kernel. Without it, vmware-modules won't build for example. 
The kernel headers are nowhere near /usr/src so the warning in kernel 
docs is irrelevant.

I'm not sure how LFS does these things, but you should take their docs 
seriously when working on one of their boxes

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list

Reply via email to