Re: Kernel compile
On Tue, 18 Mar 2003 14:10:31 -0500
David Z Maze <dmaze@debian.org> wrote:
> Short summary, assuming you have everything (kernel modules, gcc,
> libncurses5-dev, bin86, fakeroot, kernel-package) installed:
>
> for i in /usr/src/modules; do tar xzf $i; done
> export MODULE_LOC=$PWD/modules
> wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz
> tar xzf linux-2.4.20.tar.gz
> mv linux linux-2.4.20
> cd linux-2.4.20
> cp /boot/config-`uname -r` .config
> make menuconfig
> make-kpkg --rootcmd=fakeroot --revision=custom.1 \
> --append-to-version=-dzm kernel-image
> fakeroot make-kpkg --append-to-version=-dzm modules-image
> sudo dpkg -i ../*.deb
A couple of nits, if I may:
bin86 is not necessary for building 2.4 kernels
Beginning with 2.4.19, "official" sources expand to linux-x.y.z
Kevin
Reply to: