From: Paul Vaduva Date: Sat, 10 Sep 2016 14:24:09 +0000 (+0200) Subject: yardstick: modify e2fsck command to run with -p param X-Git-Tag: danube.1.0~272 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=82366575b7924a8315d09989b5f0b6b651ffc9c8;p=yardstick.git yardstick: modify e2fsck command to run with -p param e2fsck command will not run without human intervention if we do not use -p option. Jira issue: ARMBAND-74 Change-Id: Ie7f9b526a568e49ad44c4ee3b4fe75a1065bb1b3 Signed-off-by: Paul Vaduva --- diff --git a/tools/yardstick-img-modify b/tools/yardstick-img-modify index b9ecbddd8..07f10b3ce 100755 --- a/tools/yardstick-img-modify +++ b/tools/yardstick-img-modify @@ -104,7 +104,7 @@ setup() { kpartx -av $raw_imgfile if [ $YARD_IMG_ARCH = "arm64" ]; then - e2fsck -f /dev/mapper/$loopdevice + e2fsck -p -f /dev/mapper/$loopdevice resize2fs /dev/mapper/$loopdevice fi # for trouble shooting