Re: Building kernels the Debian way
On 2008-12-08 23:01 +0100, Jochen Schulz wrote:
> Sven Joachim:
>> Finally, some good advice. But before this step, you need to copy your
>> old config to linux-18.104.22.168/.config and cd to the kernel directory.
> The copy should be unnecessary as long as the current config is
> available from /proc/config.gz.
"As long as it available", but is it? I thought the Debian kernels are
built without CONFIG_IKCONFIG_PROC because that wastes some memory and
the config is always available from /boot/config-$(uname-r).
> Either way, I suggest to go through the hassle to start with a minimal
> configuration and only enable those options you need now (or which you
> think you may need later). This has two main benefits: kernel compile
> time drops *significantly* and you don't need to mess with initrds.
And has the additional benefit that you learn a lot the hard way by
building kernels that fail to boot or lack important features. In this
case, however, it is best not to bother with make-kpkg at all; the
"make && make install && make modules_install" triplet will save a lot
of time on subsequent compilations.