From 1af5308a87d936183e4713c5702f570c8405a01b Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 15 Nov 2016 11:11:46 -0800 Subject: Do a lazy unmount of disorderfs. Signed-off-by: Holger Levsen --- hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/B01_cleanup | 2 +- hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/cbxi4b-armhf-rb/etc') diff --git a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/B01_cleanup b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/B01_cleanup index bbea69fa..334e03a2 100755 --- a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/B01_cleanup +++ b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/B01_cleanup @@ -10,7 +10,7 @@ BUILDDIR="${BUILDDIR:-/tmp/buildd}" # cease using disorderfs if [ -d /tmp/disorderfs ] ; then echo -n "Unmounting /tmp/disorderfs…" - fusermount -u "$BUILDDIR" + fusermount -z -u "$BUILDDIR" rmdir "$BUILDDIR" mv /tmp/disorderfs "$BUILDDIR" echo " done." diff --git a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup index 73f4083c..47719ae7 100755 --- a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup +++ b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/C01_cleanup @@ -14,7 +14,7 @@ echo # cease using disorderfs if [ -d /tmp/disorderfs ] ; then echo -n "Unmounting /tmp/disorderfs…" - fusermount -u "$BUILDDIR" + fusermount -z -u "$BUILDDIR" rmdir "$BUILDDIR" mv /tmp/disorderfs "$BUILDDIR" echo " done." -- cgit v1.2.3-70-g09d2