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

Re: 3.0 kernel fails to compile

On Mon, 01 Aug 2011 22:44:46 -0400 (EDT), Dave Witbrodt wrote:
> My understanding is that the Debian Kernel Team recommends using the 
> 'make deb-pkg' target now; they argued that kernel-package should be 
> considered deprecated, but Manoj wanted to continue supporting it since 
> so many people have used it for so long and there is nothing really 
> wrong with it (until now, though it's probably easy to fix).
> I just finished building my first linux-3.0 custom kernel using the 
> deb-pkg target, and everything works fine.  (I frequently test 
> cutting-edge upstream changes to the radeon driver and mesa, and these 
> often involve changes to the radeon DRM in the kernel.)
> I was a long-time user of make-kpkg, but since I learned how to use the 
> in-kernel deb-pkg target I have been taking the Debian Kernel Team's 
> advice and recommending building custom kernels that way.

Actually, the kernel team recommends yet another method, which involves
downloading the source package with, for example,

   apt-get --only-source source linux-2.6

then using dpkg-buildpackage to build it.  But that has a number of
drawbacks.  For one, only official Debian source packages (and usually,
only the latest one, unless source packages are available at
snapshot.debian.org) may be used.  Second, the modified package usually
replaces the stock package, and I like to keep my old kernel as a backout.

I don't like "make deb-pkg" that well for a number of reasons.  One of
them is that I get a linux-headers-* package and a libc-dev package too,
whether I want them or not.  make-kpkg is more flexible.  I only get the
packages that I want.  It may be considered deprecated by the kernel
team, but it is still supported by Manoj Srivastava, the upstream author
and Debian Package Maintainer for kernel-package.  See


for a complete explanation of my kernel-building methodology and the
reasons behind it.  You are of course entitled to disagree with me.  ;-)

  .''`.     Stephen Powell    
 : :'  :
 `. `'`

Reply to: