Re: Directory where modules are loacted in 2.6.7 build

From: Erik Mouw
Date: Wed Jul 07 2004 - 11:08:43 EST


On Wed, Jul 07, 2004 at 11:59:11AM -0400, Brad Tilley wrote:
> When a normal user on a x86 PC builds a 2.6.x kernel in his home directory by
> issuing the 'make' command where are the modules placed?

Just in the build tree.

You need to be root to install the modules in /lib/modules using "make
modules_install", but everything else can be done as a normal user. If
you want to have them installed somewhere else, you don't need to be
root, btw, "make INSTALL_MOD_PATH=/tmp modules_install" will install
the modules in /tmp/lib/modules .


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
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/