Merge pull request #179 from meta-rust/add-debug-to-build-script

Add debug information to troubleshoot jenkins issues
This commit is contained in:
Derek Straka
2017-11-03 16:00:43 -04:00
committed by GitHub
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
#!/bin/bash -x
sudo fuser -m `pwd`/build
# Only attempt to unmount if the directory is already mounted
if mountpoint -q `pwd`/build; then
sudo umount build
sudo umount `pwd`/build
fi
sudo fuser -m `pwd`/build
ps -ef
exit 0
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/bin/bash -x
if [[ $# -lt 1 ]]; then
echo "No Yocto branch specified, defaulting to master"