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);'
On Fri, Nov 08, 2002 at 10:41:32AM -0500, Robert L. Harris wrote:
> 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?
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]):
> 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.....
>
> On Fri, Nov 08, 2002 at 10:41:32AM -0500, Robert L. Harris wrote:
> > 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?
>
> 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);'
On Fri, Nov 08, 2002 at 10:59:14AM -0500, Robert L. Harris wrote:
>
>
> 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