Commit 9fc197e9 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible: mkdir+rmdir mountpoint correctly

parent 9abe0176
......@@ -8,5 +8,6 @@ set -e
# cease using disorderfs
if [ -d /tmp/disorderfs ] ; then
su pbuilder2 -c 'fusermount -u /tmp/buildd'
rmdir /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
fi
......@@ -8,5 +8,6 @@ set -e
# cease using disorderfs
if [ -d /tmp/disorderfs ] ; then
su pbuilder2 -c 'fusermount -u /tmp/buildd'
rmdir /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
fi
......@@ -16,6 +16,7 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
if [ -x /usr/bin/disorderfs ] ; then
mknod -m 666 /dev/fuse c 10 229
mv /tmp/buildd /tmp/disorderfs
mkdir /tmp/buildd
su pbuilder2 -c 'disorderfs /tmp/disorderfs /tmp/buildd'
else
echo "Warning: disorderfs not available."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment