[elbe-devel] [PATCH 0/3] Extend debootstrap configuration

Daniel Braunwarth daniel.braunwarth at kuka.com
Thu Sep 9 14:02:14 CEST 2021


This set of patches improves the debootstrap configuration.
The currently used configuration has two drawbacks:

1. One can only inlcude additional packages into debootstrap, if a
    variant is used.
2. There is no possibility to exclude packages from debootstrap.

This patch eliminates these drawbacks.

A possible new configuration looks like:

<debootstrap>
    <variant>minbase</variant>
    <include>ca-certificates</inlcude>
    <exlucde>systemd-timesyncd</exclude>
</debootstrap>

If a project contains an old debootstrapvariant configuration, it will
automatically be replaced during pre-processing.

All examples and tests have been updated to use the new configuration.

Daniel Braunwarth (3):
  Extend debootstrap configuration
  Automatically replace debootstrapvariant
  Use new debootstrap configuration

 elbepack/rfs.py                               | 29 ++++---
 elbepack/validate.py                          | 48 +++++------
 elbepack/xmlpreprocess.py                     | 25 ++++++
 examples/armhf-ti-beaglebone-black.xml        |  4 +-
 examples/armhf-ubuntu.xml                     |  4 +-
 examples/x86_64-docker.xml                    |  4 +-
 .../x86_64-pc-hdimg-grub-hybrid-buster.xml    |  4 +-
 schema/dbsfed.xsd                             | 80 ++++++++++---------
 tests/pbuilder-amd64.xml                      |  4 +-
 9 files changed, 122 insertions(+), 80 deletions(-)

--
2.33.0


More information about the elbe-devel mailing list