[oe-commits] [openembedded-core] 02/20: image_types: adjust default level of XZ compression

git at git.openembedded.org git at git.openembedded.org
Fri May 13 16:46:42 UTC 2016


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

commit e9dbf85828e9d4e16c6a96de8931cb15bbcd78bb
Author: Alexander D. Kanevskiy <kad at kad.name>
AuthorDate: Fri May 13 14:11:45 2016 +0300

    image_types: adjust default level of XZ compression
    
    XZ extreme compression method usually uses a lot more CPU time with not
    that often big saving on space. Same goes with -6 level of compression.
    Compression level -3 usually the best balance for time/size, especially
    on big images.
    
    Signed-off-by: Alexander D. Kanevskiy <kad at kad.name>
    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 f74ae18..6315fc4 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -34,7 +34,7 @@ def imagetypes_getdepends(d):
     # Sort the set so that ordering is consistant
     return " ".join(sorted(deps))
 
-XZ_COMPRESSION_LEVEL ?= "-e -6"
+XZ_COMPRESSION_LEVEL ?= "-3"
 XZ_INTEGRITY_CHECK ?= "crc32"
 XZ_THREADS ?= "-T 0"
 

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


More information about the Openembedded-commits mailing list