Re: make-kpkg and modules
Hi,
>>"Remo" == Remo Badii <Remo.Badii@psi.ch> writes:
Remo> This is exactly what puzzles a newby.
Remo> Isn't make-kpkg --revision=... kernel_image sufficient?
Yes, to compile everything that comes with the kernel sources
(all the modules, drivers, etc that you configure).
Remo> What does make-kpkg modules_image do (additionally)?
Compiles stuff that does not come with the kernel, but is
available as add on modules to the kernel.
Remo> In which case should this command be issued?
When you have additional kernel modules (not supplied with the
kernel sources, but available separately).
Package: pcmcia-source
Description: PCMCIA Card Services source.
This package provides the source code for the PCMCIA modules.
Remo> And when? On the same line as the above
Remo> (i.e., make-kpkg --revision=... kernel_image modules_image)?
Sounds about right.
Remo> I look at /usr/src/ and there is no "modules" in it. So, I
Remo> think this option CREATES something in /usr/src, but I do not
Remo> understand why and what "build all packages under
Remo> /usr/src/modules" means.
No, packages like pcmcia-source create directories under
/usr/src/modules. So, if you have one of these packages installed,
make-kpkg shall obligingly recompile those modules when you cerate a
new kernel. The modules .deb files are quite likely to be created in
/usr/src/modules; but that depends on each individual modules
maintainer.
I hope this helps.
manoj
--
I program, therefore I am.
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
Reply to: