diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-04-13 00:09:12 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-16 11:10:02 +0100 |
commit | ef0654f1453ff0afe98d7e921626b2a96cf2f6f6 (patch) | |
tree | b1c9e1b603a98af2f9b58b7e0d241f5dfc842a1a /meta/classes | |
parent | 4b4db64156c8fa8ff8eb55f652cc597e0bd70f7f (diff) | |
download | poky-ef0654f1453ff0afe98d7e921626b2a96cf2f6f6.tar.gz |
Set XZ_COMPRESSION_LEVEL to -9
It is consistent with other compressors also using their
best compression.
xz is currently the option that offers best compression,
using settings even lower than the default is surprising
and makes it harder to choose the best available compression.
For anyone who cares about compression time using a different
option like gzip or bzip2 is the logical choice.
For decompression, better compressed is actually faster
to decompress.
(From OE-Core rev: 9718c2d3fbb3281274af4556b34b7bac21fc7774)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 95aa1674cf..1c44ec4a80 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -54,7 +54,7 @@ def imagetypes_getdepends(d): | |||
54 | # Sort the set so that ordering is consistant | 54 | # Sort the set so that ordering is consistant |
55 | return " ".join(sorted(deps)) | 55 | return " ".join(sorted(deps)) |
56 | 56 | ||
57 | XZ_COMPRESSION_LEVEL ?= "-3" | 57 | XZ_COMPRESSION_LEVEL ?= "-9" |
58 | XZ_INTEGRITY_CHECK ?= "crc32" | 58 | XZ_INTEGRITY_CHECK ?= "crc32" |
59 | 59 | ||
60 | ZIP_COMPRESSION_LEVEL ?= "-9" | 60 | ZIP_COMPRESSION_LEVEL ?= "-9" |