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

Re: Building the kernel myself



> 
> > -------- Forwarded Message --------
> > From: Ralf Jung <ralfjung-e@gmx.de>
> > To: debian-user <debian-user@lists.debian.org>
> > Subject: Building the kernel myself
> > Date: Fri, 26 Aug 2011 17:18:10 +0200

> > [snip]
> > I found tons of documentation on the net, but most of it is horribly outdated. 
> > Essentially there seem to be two methods:
> > 
> > a) installing kernel-package and then calling
> > make-kpkg --initrd kernel-image kernel-headers
> > in the source directory (I first forgot the --initrd, gave me quite a 
> > headache^^). That seems to work fine, however it's doing a lot of black magic. 
> > Also, each time I do this, it's touching the .config file resulting in a 
> > complete re-build even if just some files changed.
> > [snip]

You need to run

make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers

It's not doing any black magic and it never touches the configuration.
Perhaps there's an issue with preparing Debian for the very first time.

You only need to run this one time and then never ever again

apt-get update
apt-get install fakeroot build-essential crash kexec-tools makedumpfile
kernel-package kernel-wedge
apt-get build-dep linux
apt-get install libncurses5 libncurses5-dev libelf-dev asciidoc
binutils-dev

Take care of the emails wrapping.

-- 
Does anybody know where to get Quick Calculus by 
Daniel Kleppner and Norman Ramsey translated to German?


Reply to: