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

Re: how are you kids compiling kernels these days?



On Thu, May 31, 2012 at 00:37 -0500, Paul Johnson wrote:

[...]

> but they are for kernel 2.6. This one is really frustrating.
> 
>     $ apt-get source linux-image-3.2.0-2-amd64
[...]
> Picking 'linux-2.6' as source package instead of 'linux-image-3.2.0-2-amd64'
[...]
> Get:1 http://ftp.debian.org/debian/ testing/main linux-2.6 3.2.18-1 > (dsc) [94.2 kB]

That is expected as the source package for 3.* kernels is, in fact,
linux-2.6.

In addition to the wiki page you found already there is also a chapter in the
wonderful new book on Debian system administration on kernel compilation [0]
and a slightly older chapter in the kernel handbook [1]. The latter also
discusses the application of patches [2]. It is typically also a good idea to
read the README.source in the source package.

I am not entirely sure which procedure to recommend as I had the impression
that make-kpkg wasn't the recommended way to build a kernel these days.

[0] http://debian-handbook.info/browse/stable/sect.kernel-compilation.html
[1] http://kernel-handbook.alioth.debian.org/
[2] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s4.2.3
-- 
Wolodja <debian@babilen5.org>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC

Attachment: signature.asc
Description: Digital signature


Reply to: