lkml.org 
[lkml]   [2004]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Stop the Linux kernel madness
On Fri, 18 Jun 2004 Valdis.Kletnieks@vt.edu wrote:

> On Fri, 18 Jun 2004 13:12:34 PDT, 4Front Technologies said:
>
>> We precisely use this mechanism - we use
>> /lib/modules/<version>/build/include/linux/config.h to figure such features out
>> but when the "build" part of the path doesn't point to the right source tree,
>> where do you look?. SuSE ships kernel sources "unconfigured" which means that
>> you have to rely on something else to tell you what the exact kernel
>> configuration looks like.
>
> Right, but hopefully you can tell it's a SuSE machine via other means, and
> then apply a suitable workaround.

the problem with this is that you can have the situation where it's a SuSE
box with a kernel.org kernel. I've had significant problems with
installers for 3rd party software that decided what distro they were
running on based on what kernel version showed up in uname

by the way there's useually a *version file in /etc that tells you what
version of a particular distro you are running on (or at least what it was
before it got tweaked)

David Lang

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site