summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-22 14:17:51 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-22 14:17:51 +0100
commit07791e7deefa2dc09d7b2872bc00e35bbbd3b7a9 (patch)
tree574a8a9f256c5591c8609abf9dbf984e882d525f /bin
parent3179e9af47cf9aa6828a0ed24fc3289b6703106e (diff)
downloadjenkins.debian.net-07791e7deefa2dc09d7b2872bc00e35bbbd3b7a9.tar.xz
cd to workspace, else mounting will fail
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 329c674c..d9d4e75c 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -383,6 +383,7 @@ save_logs() {
#
# remove set +e once the code has proven its good
set +e
+ cd $WORKSPACE
SYSTEM_MNT=/media/$NAME
sudo mkdir -p $SYSTEM_MNT
sudo guestmount -o uid=$(id -u) -o gid=$(id -g) -a $NAME.raw -m /dev/debian/root --ro $SYSTEM_MNT || true