[elbe-devel] [PATCH v2 0/4] Add support for building Ubuntu-based systems

Kory Maincent kory.maincent at bootlin.com
Fri Jun 12 21:04:55 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.

Kory Maincent (4):
  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

 docs/elbeoverview-en.txt |  8 ++++++--
 elbepack/elbexml.py      | 37 ++++++++++++++++++++++++++-----------
 elbepack/rfs.py          | 30 +++++++++++++++++++++---------
 schema/dbsfed.xsd        | 17 ++++++++++++++++-
 4 files changed, 69 insertions(+), 23 deletions(-)

-- 
2.17.1




More information about the elbe-devel mailing list