[elbe-devel] [PATCH v3 04/15] Change os.sytem to shellhelper::system for "barebox.py"

dion at linutronix.de dion at linutronix.de
Wed Jun 26 10:40:08 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/debianize/barebox.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elbepack/debianize/barebox.py b/elbepack/debianize/barebox.py
index 933658b4..fa8336a3 100644
--- a/elbepack/debianize/barebox.py
+++ b/elbepack/debianize/barebox.py
@@ -12,6 +12,7 @@ from npyscreen import TitleText
 
 from elbepack.directories import mako_template_dir
 from elbepack.debianize.base import DebianizeBase, template
+from elbepack.shellhelper import system
 
 
 class BareBox (DebianizeBase):
@@ -64,7 +65,7 @@ class BareBox (DebianizeBase):
             ' -v ' + self.deb['p_version'] + \
             ' --create -M -D ' + self.deb['release'] + \
             ' "generated by elbe debianize"'
-        os.system(cmd)
+        system(cmd)
 
         copyfile(os.path.join(self.tmpl_dir, 'barebox-image.install'),
                  'debian/barebox-image-' + pkg_name + '.install')
-- 
2.11.0




More information about the elbe-devel mailing list