[elbe-devel] [PATCH v2 00/12] cache initvm related bin and src repo in "initvm create"

Torben Hohn torben.hohn at linutronix.de
Mon Nov 12 17:43:01 CET 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 fetch_initvm_pkgs" 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. 

The changes for v2 have not undergone a full rebuild
from cdrom test.

Changes for v2:

* rebased onto 9c0a8d30e4f6 ("version bump 2.9.13")
* renamed buildrepo -> fetch_initvm_pkgs
* includes fixes by manut
* most patches already had Reviewed-by: tags.
  i have left these tags in place, although i
  have renamed buildrepo to fetch_initvm_pkgs,
* remove exception hunk in "fetch_initvm_pkgs: 
  final touches on cdrom build" patch.
* remove unused --proxy and --debug options
* add fetch_initvm_pkgs manpage 

Torben Hohn (12):
  elbexml: add get_initvm_primary_mirror()
  fetch_initvm_pkgs: first version of fetch_initvm_pkgs
  repomanager: correct initvm related CdromSrcRepo attributes
  fetch_initvm_pkgs: use component initvm for initvm related sources
  fetch_initvm_pkgs: 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 fetch_initvm_pkgs'
  debian: add fetch_initvm_pkgs to *-elbe-buildenv.install files
  fetch_initvm_pkgs: add options to skip bin and sources
  command init: add --skip-build-* options and pass to buildrepo
  initvmaction: pass --skip-build-bin and --skip-build-source to elbe
    init
  docs elbe-fetch_initvm_pkgs: add initial man page version

 debian/python-elbe-buildenv.install    |   1 +
 debian/python3-elbe-buildenv.install   |   1 +
 docs/elbe-fetch_initvm_pkgs.txt        |  72 ++++++++++++++
 elbepack/cdroms.py                     |  75 ++++-----------
 elbepack/commands/fetch_initvm_pkgs.py | 167 +++++++++++++++++++++++++++++++++
 elbepack/commands/init.py              |  14 +++
 elbepack/elbexml.py                    |  13 +++
 elbepack/init/init-elbe.sh.mako        |  25 +++++
 elbepack/initvmaction.py               |   6 ++
 elbepack/repomanager.py                |   7 +-
 10 files changed, 319 insertions(+), 62 deletions(-)
 create mode 100644 docs/elbe-fetch_initvm_pkgs.txt
 create mode 100644 elbepack/commands/fetch_initvm_pkgs.py

-- 
2.11.0




More information about the elbe-devel mailing list