[elbe-devel] [PATCH 3/3] initvmaction: pass --skip-build-bin and --skip-build-source to elbe init

Torben Hohn torben.hohn at linutronix.de
Fri Oct 12 11:32:40 CEST 2018


Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/initvmaction.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
index 09278c84..5cf8c8ac 100644
--- a/elbepack/initvmaction.py
+++ b/elbepack/initvmaction.py
@@ -467,6 +467,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