Re: How to check if kernel sources are installed on a system?

From: Thomas Backlund
Date: Thu May 25 2006 - 20:08:52 EST


Jesper Juhl wrote:

Finding a way to detect if people have kernel sources available that
are configured to match the current running kernel that'll work for
everyone is a lost cause - give it up.
Looking in /lib/modules/$(uname -r)/build/ and/or
/lib/modules/$(uname -r)/source/ is probably the best you can do (and
doing that makes sense - at least to me)...



Yeah,
I alway thought that this was the correct way...

And theese links are also found on Mandriva...

Not to mention Ati & nVidia installers that also check for theese links...

--
Regards

Thomas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/