aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
authordancer <dancer>2003-04-08 14:07:01 +0000
committerdancer <dancer>2003-04-08 14:07:01 +0000
commit0dc3f0f47121860d1dc1c03b972b5a4390a22f5b (patch)
treebde7e60b78d3097a9d1d5f2abf4e1ce414140b8d /pbuilder-modules
parent75a5c6348610d497096f32289abeeaa46083545a (diff)
downloadpbuilder-0dc3f0f47121860d1dc1c03b972b5a4390a22f5b.tar
pbuilder-0dc3f0f47121860d1dc1c03b972b5a4390a22f5b.tar.gz
0.71 -- fix UML umount problem by not umounting at all
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index ad833d9..71fbfea 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -75,6 +75,11 @@ EOF
}
function umount_one () {
+ if [ "${IGNORE_UMOUNT}" = "yes" ]; then
+ # support ignore umount option.
+ echo " -> ignoring umount of $1 filesystem"
+ return
+ fi
echo " -> unmounting $1 filesystem"
if ! umount "$BUILDPLACE/$1"; then
echo "W: Retrying to unmount $1"