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

Manuel Traut manut at linutronix.de
Fri Oct 19 16:00:10 CEST 2018


Hi Torben,

looks basicly good.

I rebased the queue to current devel/elbe-3.0 and appended
the 'allow to skip initvm cdrom caching' queue to this branch.

It is located at 'devel/manut/buildrepo'.

It includes the small fixups mentioned in the review.

Please do the rework on this queue after the
'allow to skip intivm cdrom caching' was done.

Thanks,
   Manu

On Thu, Sep 27, 2018 at 12:34:13PM +0200, 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 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
> 
> 
> _______________________________________________
> 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