diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-22 22:57:11 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-22 22:57:11 +0200 |
commit | 4dc5fe8c5f15e2bb1afb97317fbac8274d963afa (patch) | |
tree | 7a434ed1d67b11630655e5be7d77dd1cf5f82b69 /hosts/jenkins | |
parent | 6d430cda67bb765a37dc8821e671a112ab24a4c9 (diff) | |
download | jenkins.debian.net-4dc5fe8c5f15e2bb1afb97317fbac8274d963afa.tar.xz |
reproducible: also unmount disorderfs as root - compliment cf017798
Diffstat (limited to 'hosts/jenkins')
-rwxr-xr-x | hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup | 2 | ||||
-rwxr-xr-x | hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup | 2 |
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 |