public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Directory where modules are loacted in 2.6.7 build
@ 2004-07-07 15:59 Brad Tilley
  2004-07-07 16:07 ` Erik Mouw
  2004-07-07 16:09 ` Chris Friesen
  0 siblings, 2 replies; 4+ messages in thread
From: Brad Tilley @ 2004-07-07 15:59 UTC (permalink / raw)
  To: linux-kernel

This is probably a stupid question, but here goes:

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? 

I'm not on the list, so please CC me.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Directory where modules are loacted in 2.6.7 build
  2004-07-07 15:59 Directory where modules are loacted in 2.6.7 build Brad Tilley
@ 2004-07-07 16:07 ` Erik Mouw
  2004-07-07 16:09 ` Chris Friesen
  1 sibling, 0 replies; 4+ messages in thread
From: Erik Mouw @ 2004-07-07 16:07 UTC (permalink / raw)
  To: Brad Tilley; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Directory where modules are loacted in 2.6.7 build
  2004-07-07 15:59 Directory where modules are loacted in 2.6.7 build Brad Tilley
  2004-07-07 16:07 ` Erik Mouw
@ 2004-07-07 16:09 ` Chris Friesen
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Friesen @ 2004-07-07 16:09 UTC (permalink / raw)
  To: Brad Tilley; +Cc: linux-kernel

Brad Tilley wrote:
> This is probably a stupid question, but here goes:
> 
> 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?

They're left where they are compiled.

To actually put them anywhere, you must do "make modules_install" as root.

Chris

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Directory where modules are loacted in 2.6.7 build
@ 2004-07-07 17:01 Brad Tilley
  0 siblings, 0 replies; 4+ messages in thread
From: Brad Tilley @ 2004-07-07 17:01 UTC (permalink / raw)
  To: Erik Mouw, Brad Tilley; +Cc: linux-kernel

Erik Mouw <erik@harddisk-recovery.com> wrote:

> 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 .

Thank you. INSTALL_MOD_PATH is exactly what I needed.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-07 17:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-07 15:59 Directory where modules are loacted in 2.6.7 build Brad Tilley
2004-07-07 16:07 ` Erik Mouw
2004-07-07 16:09 ` Chris Friesen
  -- strict thread matches above, loose matches on Subject: below --
2004-07-07 17:01 Brad Tilley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox