[elbe-devel] [PATCH v3 0/6] Add support for building Ubuntu-based systems

Kory Maincent kory.maincent at bootlin.com
Mon Jun 15 14:34:03 CEST 2020


Ubuntu stores packages for the armhf and arm64 architectures in two
different mirrors, unlike Debian which uses a single mirror for all
architectures.

Due to this, with the current ELBE code, if the project is targeting
the armhf or armel architecture, the build_host_sysroot process fails
because ELBE uses only one primary mirror, which does not contain the host
architecture.

In order to solve this, this patch series:

 - Adds support for describing an optional mirror for the host
   architecture. A XML description is used to specify this mirror.
   Together the architecture supported by this mirror is specified in
   the sources.list file for apt-get usage.

 - Adds the Ubuntu Bionic and Focal releases to dbsfed in order to
   allow building systems using those Ubuntu versions.

Changelog:
 v2: Add a patch to specify the architecture of the extra URLs mirrors. In case
     of these mirrors are specific to one architecture
     Update elbe overview docs with tag 'host' and URL 'arch' attribute
     description.
     Applied Torben's suggestions:
     Use hostsdk variable in place of the comparison between the architectures.
     Use only one get_primary_mirror function for host and target.

 v3: Add ubuntu-keyring package to initvm.
     Add support to an ubuntu xml image file example.
     Applied Olivier suggestions:
     In elbexml.py use format string instead of concatenating when parsing
     url mirrors.
     Fix hostsdk test condition.

Kory Maincent (6):
  Add Ubuntu LTS release name
  Add optional mirror for host architecture
  Add support to specify the architecture on the extra urls mirrors.
  docs: elbeoverview: Update doc about url mirror
  elbepack: default-init: Add ubuntu-keyring
  examples: add support to an armhf ubuntu image

 docs/elbeoverview-en.txt       |  8 +++-
 elbepack/elbexml.py            | 55 ++++++++++++++++---------
 elbepack/init/default-init.xml |  1 +
 elbepack/rfs.py                | 24 ++++++-----
 examples/armhf-ubuntu.xml      | 74 ++++++++++++++++++++++++++++++++++
 schema/dbsfed.xsd              | 16 ++++++++
 6 files changed, 149 insertions(+), 29 deletions(-)
 create mode 100644 examples/armhf-ubuntu.xml

-- 
2.17.1




More information about the elbe-devel mailing list