diff options
author | Alexander D. Kanevskiy <kad@kad.name> | 2016-05-13 14:11:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:11 +0100 |
commit | b39ddd9fe72567a17b9cd2840dce63e54e1aa7d3 (patch) | |
tree | c70a1500b1ed52a0b6dd4ad49931e0640f57393c /meta | |
parent | 36912cd2e45edd84ff414c673d446c94c538516e (diff) | |
download | poky-b39ddd9fe72567a17b9cd2840dce63e54e1aa7d3.tar.gz |
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.
(From OE-Core rev: e9dbf85828e9d4e16c6a96de8931cb15bbcd78bb)
Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
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): | |||
34 | # Sort the set so that ordering is consistant | 34 | # Sort the set so that ordering is consistant |
35 | return " ".join(sorted(deps)) | 35 | return " ".join(sorted(deps)) |
36 | 36 | ||
37 | XZ_COMPRESSION_LEVEL ?= "-e -6" | 37 | XZ_COMPRESSION_LEVEL ?= "-3" |
38 | XZ_INTEGRITY_CHECK ?= "crc32" | 38 | XZ_INTEGRITY_CHECK ?= "crc32" |
39 | XZ_THREADS ?= "-T 0" | 39 | XZ_THREADS ?= "-T 0" |
40 | 40 | ||