[elbe-devel] Creating kernel deb package

Yegor Yefremov yegorslists at googlemail.com
Mon Jan 27 12:11:29 CET 2020


On Sat, Jan 25, 2020 at 7:44 AM Bastian Germann <bage at linutronix.de> wrote:
>
> 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.

Good to know. So far deb-pkg is working for the standard layout.

Is there any guide on how to create a custom kernel package containing
a FIT image? I have my own kernel-fit.its file and need to invoke
mkimage and place only kernel-fit.itb into /boot folder.

> > 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?
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list