Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20912 - nvidia-kernel should probably use /lib/modules/VERSION/build symlink
Summary: nvidia-kernel should probably use /lib/modules/VERSION/build symlink
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 06:12 UTC by leon j. breedt
Modified: 2003-06-10 15:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.