[pbuilder] 01/01: pbuilder-modules: Don't trash CHROOTEXEC when using eatmydata

James Clarke jrtc27-guest at moszumanska.debian.org
Tue Jul 19 21:26:44 UTC 2016


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

jrtc27-guest pushed a commit to branch master
in repository pbuilder.

commit 8d69336a654a37f03d2f72351d92a2a4934cdc66
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Tue Jul 19 22:26:06 2016 +0100

    pbuilder-modules: Don't trash CHROOTEXEC when using eatmydata
    
    Closes: #831823
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-modules b/pbuilder-modules
index 426688e..3d59bd1 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -621,7 +621,7 @@ function extractbuildplace () {
     if [ "$EATMYDATA" = "yes" ]; then
         if $CHROOTEXEC /sbin/ldconfig -p | grep -q libeatmydata && $CHROOTEXEC which eatmydata > /dev/null 2>&1 ; then
             log.i "using eatmydata during job"
-            CHROOTEXEC="chroot $BUILDPLACE eatmydata"
+            CHROOTEXEC="$CHROOTEXEC eatmydata"
         else
             log.w "eatmydata is not (yet) installed inside the chroot, not using it."
         fi

-- 
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