aboutsummaryrefslogtreecommitdiffstats
path: root/tools/yardstick-img-modify
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yardstick-img-modify')
-rwxr-xr-xtools/yardstick-img-modify6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/yardstick-img-modify b/tools/yardstick-img-modify
index 94594103a..13d4360d9 100755
--- a/tools/yardstick-img-modify
+++ b/tools/yardstick-img-modify
@@ -81,7 +81,9 @@ setup() {
kpartx -av $raw_imgfile
# for trouble shooting
- sleep 2; dmsetup ls
+ sleep 2
+ dmsetup ls
+ fdisk -l /dev/${loopdevice:0:5} || true
mount /dev/mapper/$loopdevice $mountdir
mount -t proc none $mountdir/proc
@@ -136,6 +138,8 @@ error_trap()
exitcode=$rc
fi
+ dmesg -T | tail -50
+
cleanup
echo "Image build failed with $exitcode"