To: Hunter Thomas
Subject: Re: [SlugLUG] More on the old laptop linux install...
From: Ben Gertzfield
Date: 23 Jul 1999 15:32:10 -0700
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald)

>>>>> "Hunter" == Hunter Thomas writes:

Hunter> Actually, I need to get it onto the other machine before I
Hunter> connect it via laplink. What are the options I need to use
Hunter> for make-kpkg? I'll most likely use a floppy to get it
Hunter> onto my the laptop, I don't see the kernel I'm going to
Hunter> compile to be that big.

That will work. To use make-kpkg, in your unpacked kernel source directory, run:

fakeroot make-kpkg kernel_image

the 'fakeroot' is a little trick library preload that makes tar and whatnot think they're running as root so they can create tar files with entries owned by anyone. useful for package building!

A good idea is to put a revision in the debian package version:

fakeroot make-kpkg --revision ben.19990723 kernel_image

like so. You'll get a .deb in the .. directory when it's done building.

Brought to you by the letters Q and V and the number 0.
"Whoa. I know Kung Fu."
Debian GNU/Linux maintainer of Gimp and GTK+ --

Date: Mon, 22 Dec 2003 15:26:35 +1100
From: Daniel Stone <>
Subject: Re: Packaging the kernel (was Re: Some advice trying out 2.6...)

Debian-wise, you need the kernel-package and fakeroot packages installed; just configure your kernel, then type: "make-kpkg build --revision=`hostname`.1 && fakeroot debian/rules kernel-image-deb".

You'll then have a shiny kernel-image-nn.nn.nn_hostname.1_i386.deb sitting in the directory above - just install this, and enjoy!