Re: Debian way of compiling a kernel.

2011-02-10 Thread Boyd Stephen Smith Jr.
In 20110209223754.5fa03...@ws82.int.tlc, Dan Serban wrote:
I ask.  What is the real ... accepted ... and suggested method that I
follow, I don't understand why kernel-package looks deprecated, or what
have you, but any information would be appreciated.

If you want to use Debian's configuration and Debian's patches I'd look into 
downloading the source package and modifying it, but that can be a daunting 
task; there are a number of Debian-isms to learn along the way.  Once you 
know what you are doing, you can update the debian/changelog, use a target in 
debian/rules to prepare a .orig.tar, and use dpkg-buildpkg to get a set of 
binary packages that are significantly similar to the ones from the kernel 
packaging team.

If you just want a .deb to install, I've heard there's a makefile target in 
the kernel tarball that works fine.  I believe but can't confirm that the 
.debs generated by the makefile in the kernel tarball will properly invoke 
the postint scripts that are used to update grub.cfg, menu.lst, or the lilo 
boot sector.

The wiki has some pretty good information, too:
http://wiki.debian.org/DebianKernel
http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage
http://wiki.debian.org/DebianKernelCustomCompilation

All of those pages seem to reference:
http://kernel-handbook.alioth.debian.org/
Specifically:
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html
which I'm pretty sure is the official documentation produced by the Debian 
Linux Kernel packaging team.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Debian way of compiling a kernel.

2011-02-10 Thread Sven Joachim
On 2011-02-10 09:18 +0100, Boyd Stephen Smith Jr. wrote:

 If you just want a .deb to install, I've heard there's a makefile target in 
 the kernel tarball that works fine.

That target is called deb-pkg, i.e. you type make deb-pkg and get a
nice Debian package.

 I believe but can't confirm that the 
 .debs generated by the makefile in the kernel tarball will properly invoke 
 the postint scripts that are used to update grub.cfg, menu.lst, or the lilo 
 boot sector.

The maintainer scripts in the generated package just run the hooks under
/etc/kernel.d, in Squeeze and later those should take care of generating
an initramfs, updating the bootloader's configuration etc.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87oc6kb89k@turtle.gmx.de



Re: Debian way of compiling a kernel.

2011-02-10 Thread Jochen Schulz
Boyd Stephen Smith Jr.:
 
 If you just want a .deb to install, I've heard there's a makefile target in 
 the kernel tarball that works fine.  I believe but can't confirm that the 
 .debs generated by the makefile in the kernel tarball will properly invoke 
 the postint scripts that are used to update grub.cfg, menu.lst, or the lilo 
 boot sector.

I routinely compile vanilla kernels from git just using make, make
deb-pkg and when installing the resulting package, grub2 and the
initramfs get updated just fine.

J.
-- 
I wear a lot of leather but would never wear fur.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: Debian way of compiling a kernel.

2011-02-10 Thread Arthur Machlas
Ughn.. think google just discarded my post instead of sending. Don't
want to retype; but here's the link:

http://users.wowway.com/~zlinuxman/Kernel.htm


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTikwHint7Z5tS82Pkk=+f3p-ec6dbeg0nkgpq...@mail.gmail.com



Debian way of compiling a kernel.

2011-02-09 Thread Dan Serban
Ages ago, when amd64 wasn't part of the debian collection, I used to
compile kernels myself using make-kpkg.  This worked wonderfully, when I
had to debug driver patches etc.  (all is now of course stable).

Since then I've forgotten this process, but this is not my problem.  I
wanted to test a fixed DSDT acpi table against a motherboard I am having
flaky io issues with, I know the kernel is intended to handle these
problems but I did want to see if it helped.

When I hit the wiki page, I was surprised to see the procedure of building
a debian kernel, nothing I have done before to handle building a slightly
modified deb kernel.

I ask.  What is the real ... accepted ... and suggested method that I
follow, I don't understand why kernel-package looks deprecated, or what
have you, but any information would be appreciated.

Thank you.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110209223754.5fa03...@ws82.int.tlc