[elbe-devel] [PATCH v6 0/5] Add support for building Ubuntu-based systems

Torben Hohn torben.hohn at linutronix.de
Wed Jul 22 08:59:42 CEST 2020


Only PATCH 1/5 needs a review. The rest already has an r-b tag.

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.                                                                                                                
                                                                                                                                                
 v4: Fix coding style.              

 v5: dropped the arch attribute, because olivier is implementing this in
     a different form right now.
     Added the other ubuntu releases.

 v6: now really dropped the patch for the arch attribute, and fix the
     fallout that elbe-ci complained about.
     Applied r-b tags from bage


Kory Maincent (5):
  Add optional mirror for host architecture
  docs: elbeoverview: Update doc about url mirror
  examples: Add support to an armhf ubuntu image
  dbsfed.xsd: Add Ubuntu release names
  elbepack: default-init: Add ubuntu-keyring

 docs/elbeoverview-en.txt       |  6 ++-
 elbepack/elbeproject.py        |  3 +-
 elbepack/elbexml.py            | 51 +++++++++++++---------
 elbepack/init/default-init.xml |  1 +
 elbepack/rfs.py                |  8 ++--
 elbepack/xmldefaults.py        |  3 +-
 examples/armhf-ubuntu.xml      | 80 ++++++++++++++++++++++++++++++++++
 schema/dbsfed.xsd              | 12 +++++
 8 files changed, 137 insertions(+), 27 deletions(-)
 create mode 100644 examples/armhf-ubuntu.xml

-- 
2.20.1



More information about the elbe-devel mailing list