[elbe-devel] [PATCH 0/3] allow to skip initvm cdrom caching

Manuel Traut manut at linutronix.de
Fri Oct 19 16:05:07 CEST 2018


On Fri, Oct 12, 2018 at 11:32:37AM +0200, Torben Hohn wrote:
> elbe buildrepo is called when the initvm is created.
> This makes it slow. Lets allow to skip the download of sources
> and/or binaries.
> 
> The option needs to be passed from
> elbe initvm -> elbe init -> init-elbe.sh -> elbe buildrepo

all Reviewed-by: Manuel Traut <manut at linutronix.de>

Maybe need some refactoring if we decide to rename the buildrepo
command.

> Torben Hohn (3):
>   commands buildrepo: 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
> 
>  elbepack/commands/buildrepo.py  | 119 ++++++++++++++++++++++------------------
>  elbepack/commands/init.py       |  14 +++++
>  elbepack/init/init-elbe.sh.mako |  12 +++-
>  elbepack/initvmaction.py        |   6 ++
>  4 files changed, 95 insertions(+), 56 deletions(-)
> 
> -- 
> 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