summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--functions2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index a13a247..9377a5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ debootstrap (1.0.36) UNRELEASED; urgency=low
filesystems.
* When debootstrapping on FreeBSD, warn if necessary modules are not
loaded. Thanks, Arno Toell.
+ * Workaround for umount bug #634107, which broke pbuilder and "debootstrap ."
+ Closes: #631087
-- Joey Hess <joeyh@debian.org> Mon, 15 Aug 2011 14:14:29 -0400
diff --git a/functions b/functions
index aaeb7c5..44a071d 100644
--- a/functions
+++ b/functions
@@ -943,7 +943,7 @@ UMOUNT_DIRS=
umount_exit_function () {
for dir in $UMOUNT_DIRS; do
- umount "$TARGET/${dir#/}" || true
+ ( cd / ; umount "$TARGET/${dir#/}" ) || true
done
}