[pbuilder] 01/01: pbuilder-modules: Fix bind-mounts on kfreebsd

James Clarke jrtc27 at moszumanska.debian.org
Fri Feb 3 16:15:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

jrtc27 pushed a commit to branch kbsd-shm
in repository pbuilder.

commit cbb9001a76276700ed0a4c3fea4ad6dc0fec63fc
Author: James Clarke <jrtc27 at debian.org>
Date:   Fri Feb 3 16:14:34 2017 +0000

    pbuilder-modules: Fix bind-mounts on kfreebsd
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-modules b/pbuilder-modules
index bac0c42..4e6393a 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -424,7 +424,7 @@ function mountproc () {
             log.i "Mounting $mnt to $mntpoint"
         fi
         if mkdir -p "$BUILDPLACE/$mntpoint" &&
-            mount -obind "$mnt" "$BUILDPLACE/$mntpoint"; then
+            mount $MOUNTPARAMS "$mnt" "$BUILDPLACE/$mntpoint"; then
             # successful.
             mounted[${#mounted[@]}]="$BUILDPLACE/$mnt"
         else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list