Kernel Options


make-kpkg is a tool which handles kernel building. It automates lots of stuff, so that you won't forget something, and makes it into a debian package Thus, it's easier to install/uninstall.

make-kpkg command line options:

Run these commands:

#You must clean it each time you run it:
  fakeroot make-kpkg clean
  fakeroot make-kpkg --append-to-version=xxxx kernel_image

  fakeroot make-kpkg --append-to-version=xxxx kernel_headers  # you want the headrers, too.  
                                                              # You really should do this.

To make modules for a preexisting kernel source:
  # Go to the top level of the right kernel source directory, it 
  #   will use headers from $PWD

  make-kpkg --rootcmd fakeroot clean

  # The comma separated list is either directories in
  #   /usr/src/modules/ or full paths.
  make-kpkg --rootcmd fakeroot modules_image \ 
     --added-modules comma,separated,list --append-to-version xxx

Using the debian source with only minor changes:

Packages to install

DebianNotes/KernelConfiguration (last edited 2008-03-10 01:38:53 by localhost)