On Sat, May 26, 2001 at 10:58:56AM -0700, Timothy Bolz wrote:
>
>I found a good page to make a custom kernel in Debian.
>http://newbiedoc.sourceforge.net/system/kernel-pkg.en.html
>
>I got all the packages it said I need. I configuge the kernel and was to the
>point of making the make-kpkg which the page says enter this comand.
>make-kpkg --revision=custom.1.0 kernel_image
>All it does is give me the help menu. I've read the man make-kpkg and tried
>ever conceivable variation of make-kpkg. Has anyone made a Debian
>kernel package of their customized kernel. Seth told me about it a while back
>and decided to try and make a custom kernel and thought I'd try it. I've
>compiled my kernel before but I thought I'd try it the Debian way. :-)
>Hope some one can help. At least there is a page which walks you through the
>whole process to get you started.
I've had good results with kernel-package. I usually:
1. cd to /usr/src/linux #which is a symlink to /usr/src/kernel-whatever-verison
2. make xconfig #to get the kernel configuration ready
3. make-kpkg clean # to clear up deadwood
4. make-kpkg --revision=whatever kernel_image 2>&1 | tee /var/log/kernelbuild
# to keep a record of what was done
and then it builds a package that winds up in /usr/src. Have you read
the stuff in /usr/doc/kernel-package/* ?
I note that some of my add-on modules, like the driver for my Lucent LoseModem,
are not automatically built; i'm still working on why that's so.
--
if(rp->p_flag&SSWAP) {
rp->p_flag =& ~SSWAP;
aretu(u.u_ssav);
}