[plug] Compiling Kernel for Another Machine (Debian)

Cameron Patrick cameron at patrick.wattle.id.au
Fri Oct 8 14:29:36 WST 2004


Matt Kemner wrote:

> make menuconfig
> make-kpkg kernel_image

The second line should probably be something like

        fakeroot make-kpkg kernel_image

Otherwise make-kpkg will complain about you not being root.  Also, you
can set a custom version number etc in your kernel; e.g.

	fakeroot make-kpkg --append-to-version -cjp-1 --revision 1 kernel_image

That makes it easier to tell which particular kernel you're running.
I also normally do a "fakeroot make-kpkg clean" after the menuconfig
and before actually compiling things, but I'm not entirely sure if
it's necessary.  It can't hurt though :-)

Cameron.




More information about the plug mailing list