disk_util: include fsck output during resize operation

Previously fsck output was suppressed to reduce the amount of noise in
build logs on the assumption that fsck really shouldn't have a reason to
fail. The filesystem is freshly created after all. However some users
have reported that fsck is failing but without error messages we don't
know why.
This commit is contained in:
Michael Marineau 2015-03-25 14:16:15 -07:00
parent e235fb5f9f
commit 07fc135a12

View File

@ -508,7 +508,7 @@ def ResizeExt(part, device):
part: dict defining the partition
device: name of the block device
"""
Sudo(['e2fsck', '-p', '-f', device], stdout_null=True)
Sudo(['e2fsck', '-p', '-f', device])
Sudo(['resize2fs', device, str(part['fs_blocks'])])