[elbe-devel] [PATCH v2 06/15] Change os.sytem to shellhelper::system for "kernel.py"
Torben Hohn
torben.hohn at linutronix.de
Tue Jun 25 13:49:47 CEST 2019
On Mon, Jun 24, 2019 at 05:39:03PM +0200, dion at linutronix.de wrote:
> 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/kernel.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/elbepack/debianize/kernel.py b/elbepack/debianize/kernel.py
> index 7f09a6e5..aad2cc5e 100644
> --- a/elbepack/debianize/kernel.py
> +++ b/elbepack/debianize/kernel.py
> @@ -13,6 +13,7 @@ from npyscreen import TitleText, TitleSelectOne
>
> from elbepack.directories import mako_template_dir
> from elbepack.debianize.base import DebianizeBase, template
> +from elbepack.shellhelper import system
>
>
> class Kernel (DebianizeBase):
> @@ -83,7 +84,7 @@ class Kernel (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, 'linux-image.install'),
> 'debian/linux-image-' + pkg_name + '.install')
> --
> 2.11.0
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list