From 91d3209f780acdd810d33296ab3adb97c856f2a4 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Fri, 25 May 2018 10:08:33 +0200 Subject: [PATCH] debian/bin/genorig.py: Allow xz to use all cpu cores --- debian/bin/genorig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/bin/genorig.py b/debian/bin/genorig.py index 59f31a8c0..e693b3cf9 100755 --- a/debian/bin/genorig.py +++ b/debian/bin/genorig.py @@ -143,7 +143,7 @@ class Main(object): self.log("Generate tarball %s\n" % out) cmdline = '''(cd '%s' && find '%s' -print0) | LC_ALL=C sort -z | - tar -C '%s' --no-recursion --null -T - --mtime '%s' --owner root --group root -caf '%s' + XZ_OPT=-T0 tar -C '%s' --no-recursion --null -T - --mtime '%s' --owner root --group root -caf '%s' ''' % (self.dir, self.orig, self.dir, orig_date, out) try: if os.spawnv(os.P_WAIT, '/bin/sh', ['sh', '-c', cmdline]):