yardstick: modify e2fsck command to run with -p param 15/20815/1
authorPaul Vaduva <Paul.Vaduva@enea.com>
Sat, 10 Sep 2016 14:24:09 +0000 (16:24 +0200)
committerPaul Vaduva <Paul.Vaduva@enea.com>
Sat, 10 Sep 2016 14:28:17 +0000 (16:28 +0200)
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>
tools/yardstick-img-modify

index b9ecbdd..07f10b3 100755 (executable)
@@ -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