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

Manuel Traut manut at linutronix.de
Fri Nov 16 09:52:06 CET 2018


On Mon, Nov 12, 2018 at 05:43:01PM +0100, Torben Hohn wrote:
> 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.

Hi Torben,

thanks for your rework! Applied to devel/elbe-3.0

> 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
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list