From: Alexander D. Kanevskiy Date: Fri, 13 May 2016 11:11:45 +0000 (+0300) Subject: image_types: adjust default level of XZ compression X-Git-Tag: uninative-1.0~47 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e9dbf85828e9d4e16c6a96de8931cb15bbcd78bb;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index f74ae18c69..6315fc4820 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"