[pbuilder] 02/08: modules: let tar automatically determine decompression program

Mattia Rizzolo mattia at debian.org
Wed Jun 22 12:17:45 UTC 2016


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

mattia pushed a commit to branch master
in repository pbuilder.

commit 3753b5fd69234f7e9bc685d7ffed07a0cf5d0d30
Author: Michael Gilbert <mgilbert at debian.org>
Date:   Sun Dec 1 20:15:03 2013 -0500

    modules: let tar automatically determine decompression program
    
    This makes possible to switch compression of the tarball by just chaning the
    COMPRESSIONPROG option and run `pbuilder update`, and makes possible to use
    uncompressed tarballs by using cat(1) as a "compression program"
    
    A regression introduced doing so is that uncompression will can't take
    advantage anymore of multithreaded programs like pigz, but it's usually
    irrelevant enough during decompression.
    
    Closes: #731099
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-modules b/pbuilder-modules
index 200e87e..dec2ef3 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -557,7 +557,7 @@ function extractbuildplace () {
         if [ "$EATMYDATA" = "yes" ]; then
             TAR="eatmydata tar"
         fi
-        if ! (cd "$BUILDPLACE" && $TAR -x --use-compress-program "$COMPRESSPROG" -p -f "$BASETGZ"); then
+        if ! (cd "$BUILDPLACE" && $TAR -x -p -f "$BASETGZ"); then
             log.e "failed to extract $BASETGZ to $BUILDPLACE"
             exit 1
         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