On Fri, Dec 13, 2002 at 08:50:55PM +0100, Hans Ekbrand wrote:
> On Fri, Dec 13, 2002 at 11:32:38AM -0500, rob apodaca wrote:

> The last step "make modules_install" would copy the modules to
> /lib/modules/<my_kernelmod_dir> ON THE COMPUTER THAT DID THE
> COMPILATION (in many cases the server). IF you don't run the same
> kernel version (e.g. 2.4.19) on the compilating box, then no harm
> done, but if you do then your /lib/modules/2.4.19 will be a mess!
> 
> Therefore you might want to change the Makefile before you issue "make
> modules_install"
> 
> The line to change is the definition of $MODLIB:
> 
> #MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
> MODLIB = /home/hans/misc/ltsp_kernels/modules
> 
> (I learned this 5 minutes ago, but it seems to do the job)

Unfortunately it did not :-(

But I think I found the right way of doing it: set the environmental
variable $INSTALL_MOD_PATH BEFORE any make command.

-- 
Hans Ekbrand (http://sociologi.cjb.net) <[EMAIL PROTECTED]>
GnuPG key: 1024D/7050614E (currently active subkey 03CE8884)
Fingerprint: 1408 C8D5 1E7D 4C9C C27E  014F 7C2C 872A 7050 614E
Key available at keyserver.kjsl.com   Encrypted emails prefered.

Attachment: msg10263/pgp00000.pgp
Description: PGP signature

Reply via email to