Merge pull request #179 from meta-rust/add-debug-to-build-script
Add debug information to troubleshoot jenkins issues
This commit is contained in:
@@ -1,8 +1,14 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
sudo fuser -m `pwd`/build
|
||||||
|
|
||||||
# Only attempt to unmount if the directory is already mounted
|
# Only attempt to unmount if the directory is already mounted
|
||||||
if mountpoint -q `pwd`/build; then
|
if mountpoint -q `pwd`/build; then
|
||||||
sudo umount build
|
sudo umount `pwd`/build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo fuser -m `pwd`/build
|
||||||
|
|
||||||
|
ps -ef
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -x
|
||||||
|
|
||||||
if [[ $# -lt 1 ]]; then
|
if [[ $# -lt 1 ]]; then
|
||||||
echo "No Yocto branch specified, defaulting to master"
|
echo "No Yocto branch specified, defaulting to master"
|
||||||
|
|||||||
Reference in New Issue
Block a user