installing modules to ($PREFIX)/lib/modules/2.....
I need to move the modules from a new kernel compile from my compile
machine to a production test. Previously this has been done with some rsync and diff magic. The problem is the potential to kill the compile server if a module is overwritten that is needed.
I've compiled my kernel and modules but want to install the modules to/tmp/lib/modules/2.4.18 so I can tar that up and move it to the server in question. Is there a system for doing this built into the kernel compile structure I haven't found yet?
Robert
:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: FC96D405
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Quoted 4 lines · Robert L. Harris
I've compiled my kernel and modules but want to install the modules to
/tmp/lib/modules/2.4.18so I can tar that up and move it to the server in question. Is there a system for doing this built into the kernel compile structure I haven't found yet?
make INSTALL_PATH=/tmp modules_install
IIRC this is true for 2.4 as well.
Sam
Didn't work. Put them in /lib/modules/2.4.18. (Didn't bite me this time because my server is on a different kernel but will in the near future).
I cut and past exactly as below.
Thus spake Sam Ravnborg ([email protected]):
Quoted 12 lines
Date: Fri, 8 Nov 2002 16:55:37 +0100
From: Sam Ravnborg <[email protected]>
To: "Robert L. Harris" <[email protected]>,
Linux-Kernel <[email protected]>
Subject: Re: installing modules to ($PREFIX)/lib/modules/2.....Quoted 4 lines · Robert L. Harris
I've compiled my kernel and modules but want to install the modules to
/tmp/lib/modules/2.4.18so I can tar that up and move it to the server in question. Is there a system for doing this built into the kernel compile structure I haven't found yet?
Quoted 4 lines
make INSTALL_PATH=/tmp
modules_install
IIRC this is true for 2.4 as well.Sam
:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: FC96D405
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Quoted 4 lines · Robert L. Harris
Didn't work. Put them in
/lib/modules/2.4.18. (Didn't bite me this time because my server is on a different kernel but will in the near future).
My bad.
It is INSTALL_MOD_PATH.
Try that.
Sam