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

From: Dave Jones
Date: Thu May 25 2006 - 17:43:42 EST


On Thu, May 25, 2006 at 11:39:52PM +0200, Jan-Benedict Glaw wrote:
> On Thu, 2006-05-25 17:34:34 -0400, Jeff Garzik <jeff@xxxxxxxxxx> wrote:
> >
> > find / -name libata-scsi.c
>
> Which of the 10 versions showing up is the "right" one?

For the sake of compiling out-of-tree modules, it's also useless,
as sanitised headers (like Fedora's kernel-devel package) won't have this.

Following /lib/modules/`uname -r`/build is the only way this can work.
(And that should be true on any distro)

Dave

--
http://www.codemonkey.org.uk
-
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/