[oe-commits] [openembedded-core] 03/28: Set XZ_COMPRESSION_LEVEL to -9

git at git.openembedded.org git at git.openembedded.org
Tue Apr 16 10:10:34 UTC 2019


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

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 9718c2d3fbb3281274af4556b34b7bac21fc7774
Author: Adrian Bunk <bunk at stusta.de>
AuthorDate: Sat Apr 13 00:09:12 2019 +0300

    Set XZ_COMPRESSION_LEVEL to -9
    
    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 at stusta.de>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/image_types.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 95aa167..1c44ec4 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list