[elbe-devel] [PATCH v2 21/28] Nuke ASCIIDocLog from fstab
dion at linutronix.de
dion at linutronix.de
Fri Jun 21 19:40:13 CEST 2019
From: Olivier Dion <dion at linutronix.de>
Signed-off-by: Olivier Dion <dion 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
More information about the elbe-devel
mailing list