[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel compile in woody



On 07-Jun-2002 Marcelo Chiapparini wrote:
> Hi!
> 
> are the steps to compile a new kernel in woody the same as in potato?
> 

yep:

apt-get install kernel-package
acquire the kernel source (perhaps via apt-get install kernel-source-version)
cd /usr/src
unpack kernel
cd kernel directory
configure kernel (perhaps via make menuconfig or make xconfig)
make-kpkg --revision=5:local.1 kernel_image
make-kpkg modules_image # if you need alsa, pcmcia, etc and have them installed

the 5:local.1 sets the package version to local.1 with an epoch of 5.  When
dpkg looks at versions it first looks at the epoch, then the real version.  By
setting your epoch to 5 (or 10 or whatever) you guaranee that your kernel is
always a larger version than Debian's and we won't replace it.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: