[elbe-devel] Creating kernel deb package

Bastian Germann bage at linutronix.de
Sat Jan 25 07:44:25 CET 2020


Am 22.01.20 um 15:35 schrieb Yegor Yefremov:
> I'm trying to create a deb package for the recent kernel. I use
> 
> dpkg-buildpackage -a armhf
> 
> command to create the package.

Please only use elbe debianize for old kernels. A recent kernel should
have the make target "deb-pkg" to debianize it.

> I have some issues with the rules file. So far only some dh_* hooks
> were overridden. Hence when other hooks are invoked, the
> dpkg-buildpackage executes them in the PWD directory and not in the
> BUILD_DIR. During the packaging phase *.install files seem to be
> misinterpreted because of the above described path issues and nothing
> lands in the resulting *.deb packages.
> 
> My host OS is Ubuntu 18.04. I don't know if it has any impact on the
> package creation. Am I missing some related patch series?
> 
> Another question. What about extracting the kernel version from
> Kernel's Makefile when invoking "elbe debianize" in the linux
> directory?



More information about the elbe-devel mailing list