From: Michael Tremer Date: Tue, 17 Oct 2017 13:58:28 +0000 (+0100) Subject: packages: Compress in parallel X-Git-Tag: v2.19-core115~11 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=bc9544929c61080e662d8668d5ea0b833965fdd9 packages: Compress in parallel Signed-off-by: Michael Tremer --- diff --git a/lfs/Config b/lfs/Config index b961db94fa..1077f25545 100644 --- a/lfs/Config +++ b/lfs/Config @@ -204,7 +204,7 @@ define PAK tar xf /install/packages/package/files.tmp -C /install/packages/package/tmp/ \ -p --numeric-owner rm -f /install/packages/package/files.tmp - cd /install/packages/package/tmp/ && tar -c -p --numeric-owner -J -f /install/packages/package/files.tar.xz * + cd /install/packages/package/tmp/ && XZ_OPT=-T0 tar -c -p --numeric-owner -J -f /install/packages/package/files.tar.xz * rm -r /install/packages/package/tmp -cat /install/packages/package/ROOTFILES | grep -v "#" > /install/packages/package/ROOTFILES.tmp mv /install/packages/package/ROOTFILES.tmp /install/packages/package/ROOTFILES