[elbe-devel] [PATCH 12/18] elbepack: initvm: call build_sdk() directly
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Tue Aug 13 13:15:42 CEST 2024
Instead of going through "elbe control", call the build_sdk()
method directly. This reuses existing connections and improves the error
reporting.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/initvmaction.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
index 75940f16120a..34b361fc0174 100644
--- a/elbepack/initvmaction.py
+++ b/elbepack/initvmaction.py
@@ -143,7 +143,7 @@ def _submit_and_dl_result(control, xmlfile, cdrom, args):
print('')
if args.build_sdk:
- run_elbe(['control', 'build_sdk', prjdir], check=True)
+ control.service.build_sdk(prjdir)
print('SDK Build started, waiting till it finishes')
--
2.46.0
More information about the elbe-devel
mailing list