[elbe-devel] [PATCH v2 2/2] Do tune2fs of fstabentry before unmouting loop devices

dion at linutronix.de dion at linutronix.de
Tue Jun 25 16:21:39 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/hdimg.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py
index 771c9a35..e6dc2a65 100644
--- a/elbepack/hdimg.py
+++ b/elbepack/hdimg.py
@@ -426,6 +426,7 @@ def create_label(outf, disk, part, ppart, fslabel, target, grub):
         (os.path.join(
             target, "filesystems", entry.id), os.path.join(
             target, "imagemnt")), allow_fail=True)
+    entry.tuning("/dev/loop0")
     outf.do('umount /dev/loop0')
     outf.do('losetup -d /dev/loop0')
 
-- 
2.11.0




More information about the elbe-devel mailing list