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

Re: Reducing kernel compilation time



On 9/25/2011 2:42 AM, Elimar Riesebieter wrote:
* Stephen Powell [110924 14:13 -0400]:

On Sat, 24 Sep 2011 12:18:47 -0400 (EDT), Camaleón wrote:

What do you mean by "kernel-package"? Debian's vanilla kernel?

"kernel-package" is the name of a Debian package, as in

    aptitude install kernel-package

Isn't [1] the proper way to build Debian kernels?

[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html

As has already been discussed, this is the "new" recommended way to build a Debian kernel. The instructions on that page 'silently' changed not terribly that long ago. The build instructions on that page used to tell us to use 'make-kpkg'. Note that this new method

make KDEB_PKGVERSION=custom.1.0 deb-pkg

did not exist in the days of 2.6.18 to 2.6.21, which is when these command line examples were written. IIRC this deb-pkg method was introduced in kernel 2.6.32 or 2.6.34. It is included in the pristine kernel kernel source tarball. Thus you don't have to install any Debian kernel building packages on your system in order to build a custom kernel. This is likely one of the reasons this is the recommended method now, since most everything you need is in the vanilla tarball.

--
Stan


Reply to: