cdrom: Use -8 as compression parameter
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Oct 2017 20:16:41 +0000 (21:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Oct 2017 20:16:41 +0000 (21:16 +0100)
This is a better compromise on memory usage and file size

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config
lfs/cdrom

index d2ac8e4..443dbed 100644 (file)
@@ -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/ && XZ_OPT="-T0 --best" tar -c -p --numeric-owner -J -f /install/packages/package/files.tar.xz *
+       cd /install/packages/package/tmp/ && XZ_OPT="-T0 -8" 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
index 2f15103..8c0eb1b 100644 (file)
--- a/lfs/cdrom
+++ b/lfs/cdrom
@@ -36,7 +36,7 @@ else
 endif
 
 # Enable multi-threaded compression for LZMA
-export XZ_OPT = --threads=0 --best
+export XZ_OPT = --threads=0 -8
 
 ###############################################################################
 # Top-level Rules