[elbe-devel] [PATCH v2 21/28] Nuke ASCIIDocLog from fstab

Torben Hohn torben.hohn at linutronix.de
Wed Jun 26 16:07:09 CEST 2019


On Fri, Jun 21, 2019 at 07:40:13PM +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/fstab.py | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/elbepack/fstab.py b/elbepack/fstab.py
> index 5605670b..bd6d9a18 100644
> --- a/elbepack/fstab.py
> +++ b/elbepack/fstab.py
> @@ -7,6 +7,8 @@
>  
>  import os
>  
> +from elbepack.shellhelper import do
> +
>  
>  def get_mtdnum(xml, label):
>      tgt = xml.node("target")
> @@ -137,6 +139,6 @@ class fstabentry(object):
>          self.partnum = ppart.number
>          self.number = '{}{}'.format(disk.type, ppart.number)
>  
> -    def losetup(self, outf, loopdev):
> -        outf.do('losetup -o%d --sizelimit %d /dev/%s "%s"' %
> -                (self.offset, self.size, loopdev, self.filename))
> +    def losetup(self, loopdev):
> +        do('losetup -o%d --sizelimit %d /dev/%s "%s"' %
> +           (self.offset, self.size, loopdev, self.filename))
> -- 
> 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