[elbe-devel] [PATCH v2 11/12] initvmaction: pass --skip-build-bin and --skip-build-source to elbe init
Torben Hohn
torben.hohn at linutronix.de
Mon Nov 12 17:43:12 CET 2018
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Manuel Traut <manut at linutronix.de>
---
elbepack/initvmaction.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
index 4d4c216d..c189abaf 100644
--- a/elbepack/initvmaction.py
+++ b/elbepack/initvmaction.py
@@ -465,6 +465,12 @@ class CreateAction(InitVMAction):
if opt.nesting:
init_opts += ' --nesting'
+ if not opt.build_bin:
+ init_opts += ' --skip-build-bin'
+
+ if not opt.build_sources:
+ init_opts += ' --skip-build-source'
+
if cdrom:
system('%s init %s --directory "%s" --cdrom "%s" "%s"' %
(elbe_exe, init_opts, initvmdir, cdrom, xmlfile))
--
2.11.0
More information about the elbe-devel
mailing list