[elbe-devel] [PATCH 0/8] cache initvm related bin and src repo in "initvm create"

Torben Hohn torben.hohn at linutronix.de
Thu Sep 27 12:34:13 CEST 2018


The source and binary cdroms also contain packages for the initvm.
These packages have been downloaded with the project build.
(they have been cached, but the first download happened with
the first project build).  The debian installer packages
had not been cached at all.

This patch queue add the "elbe buildrepo" command, that
downloads binary and source packages to /var/cache/elbe.
These repos are then used later to seed the initvm
packages in the generated cdroms. 

Handling of cdroms is a bit special, and for that reason
i have not folded the 3 buildrepo: patches together.
Lets fold them in V2.


Torben Hohn (8):
  elbexml: add get_initvm_primary_mirror()
  buildrepo: first version of buildrepo
  repomanager: correct initvm related CdromSrcRepo attributes
  buildrepo: use component initvm for initvm related sources
  buildrepo: final touches on cdrom build
  init: init-elbe.sh.mako: call 'elbe buildrepo' as last thing
  cdroms: make use of the initvm repos built by 'elbe buildrepo'
  debian: add buildrepo to *-elbe-buildenv.install files

 debian/python-elbe-buildenv.install  |   1 +
 debian/python3-elbe-buildenv.install |   1 +
 elbepack/cdroms.py                   |  78 ++++------------
 elbepack/commands/buildrepo.py       | 171 +++++++++++++++++++++++++++++++++++
 elbepack/elbexml.py                  |  13 +++
 elbepack/init/init-elbe.sh.mako      |  17 ++++
 elbepack/repomanager.py              |   7 +-
 7 files changed, 223 insertions(+), 65 deletions(-)
 create mode 100644 elbepack/commands/buildrepo.py

-- 
2.11.0




More information about the elbe-devel mailing list