On Tue, 2003-10-21 at 19:44, C. Brewer wrote: > The only modules discussion so far, other than what you recently brought up, > was Mike's example of how the nvidia-modules package determined the running > kernel. The original question was how does a package(generic) determine the > running kernel. While I agree that there are some issues with the modules > packages that should be handled differently, no package that doesn't provide > modules should care what kernel you're running. IMHO, the original question was 'asked incorreclty'. Or then out of a Gentoo point of view. We generally do not care what kernel is running - sure, we do wonder what ARCH we running on, but then that we usually set in make.conf :/ For our purpose, we care about the target kernel - ie, what kernel should we compile this module for, or (and this might be related to some other comments from you) what kernel should we use for this broken user-space program that need kernel headers, and not the generics in /usr/include. Sure, Linus might not agree with /usr/src/linux, but then it is known, and as far as I know there is no problems (except your usual problems which is package specific and would be broken anyhow if not current headers was there). Hope I was not too confusing :) Thanks, -- Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa