aboutsummaryrefslogtreecommitdiffstats
path: root/tools/yardstick-img-modify
diff options
context:
space:
mode:
authorPaul Vaduva <Paul.Vaduva@enea.com>2016-09-10 16:24:09 +0200
committerliang gao <jean.gaoliang@huawei.com>2016-09-14 06:49:38 +0000
commitefae924506dc0ae54dc3e8cec58c8d12e9d30f13 (patch)
tree6490b77f1f3a7df5d9965099c84661d45332f9c0 /tools/yardstick-img-modify
parent719ff66679f1d1a0d109893b92a095cb8fc80cd0 (diff)
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 <Paul.Vaduva@enea.com> (cherry picked from commit 82366575b7924a8315d09989b5f0b6b651ffc9c8)
Diffstat (limited to 'tools/yardstick-img-modify')
-rwxr-xr-xtools/yardstick-img-modify2
1 files changed, 1 insertions, 1 deletions
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