aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAlexander D. Kanevskiy <kad@kad.name>2016-05-13 14:11:45 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 17:25:23 +0100
commite9dbf85828e9d4e16c6a96de8931cb15bbcd78bb (patch)
tree40ec907c959af123631a4283efa05c4b3f367c36 /meta/classes
parent62f95a769ec9e11c72fbf78257badbfb59f1b354 (diff)
downloadopenembedded-core-contrib-e9dbf85828e9d4e16c6a96de8931cb15bbcd78bb.tar.gz
openembedded-core-contrib-e9dbf85828e9d4e16c6a96de8931cb15bbcd78bb.tar.bz2
openembedded-core-contrib-e9dbf85828e9d4e16c6a96de8931cb15bbcd78bb.zip
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@kad.name> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
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"