mkuserimg: Dump lsof in case of a image generation failure.
This is a temporary change required to look at the list of all
open files in case of a image generation failure job.
Change-Id: I33479bf159a54302b360f8825969753b28739c35
diff --git a/ext4_utils/mkuserimg.sh b/ext4_utils/mkuserimg.sh
index 01be7be..be69738 100755
--- a/ext4_utils/mkuserimg.sh
+++ b/ext4_utils/mkuserimg.sh
@@ -87,6 +87,8 @@
if [ $? -ne 0 ]; then
echo "Ext image generation failed 1st time"
ps aux
+ lsof
+ ls -Rl $SRC_DIR
echo "Image generation retry. 2nd time"
sleep 1m
echo $MAKE_EXT4FS_CMD