[elbe-users] rootfs with custom debian packages tutorial up to date?

John Ogness john.ogness at linutronix.de
Thu Jan 9 09:05:49 CET 2020


Hi Carsten,

On 2020-01-08, Carsten Behling <carsten.behling at googlemail.com> wrote:
> wouldn't I get the same result as in
>
> https://github.com/Linutronix/elbe/wiki/Tutorial:-rootfs-with-custom-debian-packages
>
>
> if I just add lines like that:
>
> ...
> <pbuilder>
> <!-- build the minicoredumper from git -->
> <git revision='a8d3d0eb1b62ebb65f4c4246ae7bd2bd01f689de'>
> http://git.linuxfoundation.org/diamon/minicoredumper.git
> </git>

The source code on that git server is not packaged for Debian. So it
will not work.

>   <!-- build my debinized linux kernel from git -->
> <git revision='362a3159b2d15501d226f53000130e36475d4682'>
> https://mydomain.com/gitserver/linux-debinized.git
> </git>

This would work (if debianized).

> </pbuilder>
> ...
>
> to tutorial.xml?

The tutorial needs to be updated. First off, minicoredumper _is_ now
part of Debian. So it is probably a bad example.

Also, the use of "elbe control" is now heavily discouraged since it is
no longer necessary and should be considered an internal interface.

Also, the process of using custom packages has become more complex since
users should host their custom packages in their own signed custom
repository.

This tutorial should be broken into several tutorials. Perhaps:

- a tutorial showing how to debianize the kernel using "elbe debianize"

- a tutorial showing how to generate debian packages from debianized
  source using "elbe pbuilder" and/or the "<pbuilder>" tag

- a tutorial showing how to setup a simple signed local repository to
  host custom packages and then how to use this local repository in the
  XML

- a tutorial referencing the other 3 tutorials to put together and order
  all the steps of creating a root filesystem with a custom kernel

John Ogness



More information about the elbe-users mailing list