aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-02-12 17:00:30 +0100
committerJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-02-12 17:04:00 +0100
commit9de7358215ca6e3f0b394bacdd97f1e2b119b4b4 (patch)
treeb65b684a7e31d1423028808798c7d39ded888c66 /tools
parent702eebbf78b29fb9046436dd71575b4f210f4731 (diff)
Add more debug to image build
Change-Id: Icfbed0433cb9cfb6f8f479fc69699d08ad49602b Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'tools')
-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"