problems packaging kernel

Ralf Mardorf silver.bullet at zoho.com
Mon Jul 8 14:03:13 UTC 2019


On Mon, 2019-07-08 at 14:59 +0200, Hajo Locke wrote:
> some other ideas...

Hi,

I would try to build longterm 4.4.184 from https://www.kernel.org/ by
downloading and extracting the source (perhaps verifying, too, see 
https://www.kernel.org/category/signatures.html) cd into the extracted
directory and run

 sudo -i

theoretically, since fakeroot is involved, it should work without root
privileges, but IIRC there was an issue and I tend to build with root
privileges

 cp /boot/config-$(uname -r) .config
 
if already provided run

 make olddefconfig

if not run

 make oldconfig

then continue by running

 make-kpkg clean
 make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers
 make-kpkg clean
 dpkg -i ../linux-headers-*.deb
 dpkg -i ../linux-image-*.deb

Regards,
Ralf






More information about the ubuntu-users mailing list