Re: kernel compile in woody
On Fri, Jun 07, 2002 at 01:31:08PM -0300, Marcelo Chiapparini wrote: Hi! are the steps to compile a new kernel in woody the same as in potato? TIA Yes, you still apt-get install kernel-source-xxx. You still untar it and make *config. You still use kernel-package to make a package for installation. Simon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel compile in woody
Marcelo Chiapparini wrote: are the steps to compile a new kernel in woody the same as in potato? I don't know about potato, but in woody, the easiest way is: (as root) # apt-get install kernel-source-2.4.18 kernel-package fakeroot (now login as normal user, after adding him to group 'src') # cd /usr/src (move old sources out of the way, and delete/rename 'linux' symlink) # tar -xvjf kernel-source-2.4.18.tar.bz2 # ln -s kernel-source-2.4.18 linux # cd linux # make xconfig # fakeroot (time) make-kpkg --revision=marcelo.0.1 kernel_image now installing your new kernel (as root, of course) is as easy as # dpkg -i /usr/src/kernel-image-2.4.18_marcelo.0.1_i386.deb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel compile in woody
Hi! I've always been compiling the kernel without use of make-kpkg etc., and so it just stayed the same for me. But I also think that the make-kpkg way has stayed the same. I've recommended it to some friends and I did it like this in woody (on my friends' machines): -make-kpkg --bzimage --config menuconfig binary-arch (or similar) -install the package you get. Dunno this is exactly the same as in potato but as I said, I think it should not be any different. Cheers, Stephan Hachinger On Fri, 7 Jun 2002 13:31:08 -0300 Marcelo Chiapparini [EMAIL PROTECTED] wrote: Hi! are the steps to compile a new kernel in woody the same as in potato? TIA Marcelo -- Marcelo Chiapparini DFT-IF/UERJ [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel compile in woody
On Fri, 7 Jun 2002, Marcelo Chiapparini wrote: Hi! are the steps to compile a new kernel in woody the same as in potato? Yes. The easiest way, IMHO, is to use the kernel-package method, which is well documented in /usr/doc/kernel-package/README after you have that package installed. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel compile in woody
Hi! thanks a lot to everyone who answered my post! Marcelo On Fri, 07 Jun 2002 20:40:35 +0200 Joris [EMAIL PROTECTED] wrote: Marcelo Chiapparini wrote: are the steps to compile a new kernel in woody the same as in potato? I don't know about potato, but in woody, the easiest way is: (as root) # apt-get install kernel-source-2.4.18 kernel-package fakeroot (now login as normal user, after adding him to group 'src') # cd /usr/src (move old sources out of the way, and delete/rename 'linux' symlink) # tar -xvjf kernel-source-2.4.18.tar.bz2 # ln -s kernel-source-2.4.18 linux # cd linux # make xconfig # fakeroot (time) make-kpkg --revision=marcelo.0.1 kernel_image now installing your new kernel (as root, of course) is as easy as # dpkg -i /usr/src/kernel-image-2.4.18_marcelo.0.1_i386.deb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Marcelo Chiapparini DFT-IF/UERJ [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]