Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20912

Summary: nvidia-kernel should probably use /lib/modules/VERSION/build symlink
Product: Gentoo Linux Reporter: leon j. breedt <gentoo-bugs>
Component: Current packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: enhancement CC: releng
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description leon j. breedt 2003-05-13 06:12:23 UTC
i'm not sure which version of the kernel this appeared in (i think 2.4.0, i may
be wrong), but the /lib/modules/VERSION/build symlink if it exists should always
point at the directory the running kernel was compiled in.

this may be a nicer way of determining which sources to use if it is available.
maybe the ebuild could check if this exists, and if not, fallback to /usr/src/linux.

this way i don't have to keep on remembering to update the /usr/src/linux
symlink to point to whichever kernel i'm testing out at the moment if i quickly
want X support :)



Reproducible: Always
Steps to Reproduce:
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-13 17:45:15 UTC
Policy states that /usr/src/linux symlink should be used to determine kernel
version/sources.  One of the up sides to it, is that you can already merge
nvidia-kernel *before* you reboot with the new kernel ...
Comment 2 Georgi Georgiev 2003-06-10 15:35:51 UTC
Why is this bug still open?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-10 15:47:02 UTC
good point.