]> code.ossystems Code Review - openembedded-core.git/commitdiff
Set XZ_COMPRESSION_LEVEL to -9
authorAdrian Bunk <bunk@stusta.de>
Fri, 12 Apr 2019 21:09:12 +0000 (00:09 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Apr 2019 10:05:49 +0000 (11:05 +0100)
It is consistent with other compressors also using their
best compression.

xz is currently the option that offers best compression,
using settings even lower than the default is surprising
and makes it harder to choose the best available compression.

For anyone who cares about compression time using a different
option like gzip or bzip2 is the logical choice.

For decompression, better compressed is actually faster
to decompress.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass

index 95aa1674cfbda29b59f07223209491ac133dcbff..1c44ec4a80c820ed9230dc66652329988e54b3fa 100644 (file)
@@ -54,7 +54,7 @@ def imagetypes_getdepends(d):
     # Sort the set so that ordering is consistant
     return " ".join(sorted(deps))
 
-XZ_COMPRESSION_LEVEL ?= "-3"
+XZ_COMPRESSION_LEVEL ?= "-9"
 XZ_INTEGRITY_CHECK ?= "crc32"
 
 ZIP_COMPRESSION_LEVEL ?= "-9"