summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-22 22:57:11 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-22 22:57:11 +0200
commit4dc5fe8c5f15e2bb1afb97317fbac8274d963afa (patch)
tree7a434ed1d67b11630655e5be7d77dd1cf5f82b69
parent6d430cda67bb765a37dc8821e671a112ab24a4c9 (diff)
downloadjenkins.debian.net-4dc5fe8c5f15e2bb1afb97317fbac8274d963afa.tar.xz
reproducible: also unmount disorderfs as root - compliment cf017798
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup2
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup2
2 files changed, 2 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup b/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup
index 40c8c432..36a19bc9 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup
@@ -7,7 +7,7 @@ set -e
# cease using disorderfs
if [ -d /tmp/disorderfs ] ; then
- su pbuilder2 -c 'fusermount -u /tmp/buildd'
+ fusermount -u /tmp/buildd
rmdir /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
fi
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
index 40c8c432..36a19bc9 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
@@ -7,7 +7,7 @@ set -e
# cease using disorderfs
if [ -d /tmp/disorderfs ] ; then
- su pbuilder2 -c 'fusermount -u /tmp/buildd'
+ fusermount -u /tmp/buildd
rmdir /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
fi