[elbe-devel] Custom Kernel with elbe pbuilder

Kurt Kanzenbach kurt at linutronix.de
Tue Feb 5 15:57:29 CET 2019


Hi,

On Tue, Feb 05, 2019 at 03:29:06PM +0100, Ralf Schlatterbeck wrote:
> On Tue, Feb 05, 2019 at 12:51:31PM +0000, Steih, Martin wrote:
> > Hi,
> >
> > i am trying to build a rfs with a customized kernel. As a template I
> > am using
> > https://github.com/Linutronix/elbe/wiki/Tutorial:-rootfs-with-custom-debian-packages
> > this link. My problem is, that elbe pbuilder complains about bison and
> > flex being unavailable.

newer kernel versions require bison and flex as dependencies. elbe
debianize will generate a debian/ folder for you. In debian/control add
bison and flex to the build dependencies (-> Build-Depends). That should
solve your problem.

> I tried to fix it by passing those packages
> > into the project section of the elbe xml file. Unfortunately that does
> > not solve the problem. Has anyone any suggestions?
>
> I also had problems building a kernel package inside elbe. My solution
> was to cross-compile a kernel package (modern kernels have a deb-pkg
> target to directly build a debian package and debian comes with the
> necessary arm cross-compilers) and make it available in an additional
> local repository.

Right, that is the second solution for getting a custom kernel into an
elbe build.

> This repo is configured inside the xml file in the
> <mirror> section under <project> as
>
>         <url>
>           <binary>
>             http://bee.priv.zoo:9090/debian-dist stretch main
>           </binary>
>           <key>
>             http://bee.priv.zoo:9090/debian-dist/pubring.asc
>           </key>
>         </url>
>
> Wher bee.priv.zoo is the name of the local machine and the server is
> running on port 9090.
> You need a signed repo, elbe doesn't install from non-signed repos.
>
> If you manage to build inside ELBE using pbuilder a howto here to the
> list would be nice.
>
> Ralf

Regards,
Kurt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190205/55e87dea/attachment.sig>


More information about the elbe-devel mailing list