Re: Building the kernel myself
Hi,
> You need to run
>
> make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers
I put the fakeroot into the kernel-pkg.conf file, should have mentioned that,
sorry.
> 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.
Well, as far as I can tell it runs "make oldconfig" each time. At least
whenever I ran make-kpkg, it took almost an hour, the full compilation time, I
don't know why - I thought it was due to the configuration. Besides that,
kernel-package is working great and the resulting kernel boots fine.
By "black magic" I mean it does a whole lot of stuff that I don't understand
;-)
Anyway, I found out why make deb-pkg creates so large files: the kernel was
build with debug information, and kernel-package obviously strips it away
somehow. So after disabling DEBUG_INFO, everything works as expected and the
initrd is even much smaller than the one shipped with Debian (I disabled a lot
of stuff I don't need).
Thank you all for your replies!
Kind regards,
Ralf
Reply to: