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

Mattia Rizzolo mattia at debian.org
Sun Feb 5 15:08:21 UTC 2017


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

mattia pushed a commit to branch master
in repository pbuilder.

commit cc40e70b5ece37aa89d7a2a6a6e319960af47062
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 8703042..18e14b5 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -412,7 +412,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