Where do I run make-kpkg in Debian?

Where do I run make-kpkg in Debian?

This manual page explains the Debian make-kpkg utility, which is used to create the kernel related Debian packages. This utility needs to be run from a top level Linux kernel source directory, which has been previously configured (unless you are using the configure target).

What to do when make-kpkg generates a kernel image?

If make-kpkg is generating a kernel-image package, arrange to convey to the hook scripts run from the post installation maintainer scripts that this image requires an initrd, and that the initrd generation hook scripts should not short circuit early.

How to make bindeb-PKG target in Debian?

Use make bindeb-pkg target to build the kernel. the -j`nproc` argument sets the build to use as many cpu’s as you have.

How to build a new kernel in Debian?

This method will make a .deb of your kernel source, and, if you have non-standard modules, make a synchronized dependent .deb of those too. It’s a better way to manage kernel images; /boot will hold the kernel, the System.map, and a log of the active config file for the build.

How to set kbuild _ verbose in make-kpkg?

You can do this simply by setting the environment variable MAKEFLAGS. To observe, try: % KBUILD_VERBOSE=1 MAKEFLAGS=”CC=gcc-4.4″ make-kpkg configure The KBUILD_VERBOSE shows the details of the commands being run. (please see the top level kernel Makefile for variables that can be set).

Can you use make kpkg on a PowerPC?

make-kpkg is included in wheezy and jessie but stretch (current stable) only contains it for powerpc. Powerpc is no longer supported in buster (testing), and unsurprisingly the only hit for filenames containing make-kpkgis an autocompletion info file for zsh.

How to change the target of kpkg ( 1 )?

Change the type of configure done from the default oldconfig. target must be one of oldconfig, config, menuconfig, gconfig, nconfig, xconfig, randconfig, defconfig, allmodconfig, allyesconfig, allnoconfig, old, menu, g, or x.