]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
image_types: adjust default level of XZ compression
authorAlexander D. Kanevskiy <kad@kad.name>
Fri, 13 May 2016 11:11:45 +0000 (14:11 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 May 2016 16:25:23 +0000 (17:25 +0100)
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@kad.name>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass

index f74ae18c690496031b81b384b55444dcc80edc06..6315fc482036fa7169ba27fc0423b4c3468bc42d 100644 (file)
@@ -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"