summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mic/imager/loop.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mic/imager/loop.py b/mic/imager/loop.py
index c0620a4..288a707 100644
--- a/mic/imager/loop.py
+++ b/mic/imager/loop.py
@@ -446,6 +446,7 @@ class LoopImageCreator(BaseImageCreator):
if item['fstype'] == "ext4":
runner.show('/sbin/tune2fs -O ^huge_file,extents,uninit_bg %s '
% imgfile)
+ runner.quiet(["/sbin/e2fsck", "-f", "-y", imgfile])
self.image_files.setdefault('partitions', {}).update(
{item['mountpoint']: item['label']})
if self.compress_image: