From 4dc5fe8c5f15e2bb1afb97317fbac8274d963afa Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 22 Sep 2015 22:57:11 +0200 Subject: reproducible: also unmount disorderfs as root - compliment cf017798 --- hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup | 2 +- 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 -- cgit v1.2.3-70-g09d2