[Tfug] Kernel module woes.

Paul Scott tfug@tfug.org
Tue Jul 23 12:37:01 2002


Nicolas Lopez wrote:
>   Unless I'm mistaken, kernel-package spits out 5 packages from a full
> kernel build. The kernel image itself, the modules, the docs, the headers,
> and a kernel-source package including your .config.
> 
>   Check for the other .debs, or the command-line arguments for make-kpkg,
> you might have only built the kernel-image pacakge and not the modules.

Close but 'make-kpkg kernel-image' makes the kernel and the modules.  To 
get the other three packages you mentioned there are separate targets.

from man make-kpkg:

kernel_image
    This target produces a Debian package of  the  Linux  kernel  source
    image,  and  any modules configured in the kernel configuration file
    .config.  If there is no .config file in the  kernel  source
    directory, a default configuration is provided similar to the one 
used to kernel_image
       This target produces a Debian package of  the  Linux  kernel 
source image, and any modules configured in the kernel configuration 
file .config.

I'm sure you did the make-dep as instructed by make x/menuconfig and the 
make clean before make-kpkg.

Also there was a scary warning during either the make=kpkg or the 'dpkg 
-' following about stopping the process and removing a preexisting 
directory which I interpreted as something to push through (I didn't 
stop and remove it) and didn't have any problems. (once I got the config 
correct - hehe)

Paul Scott