image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6

Having XZ_COMPRESSION_LEVEL on -e -9 and -T 0 will make xz eat more
than 6Gb memory. Reduce this to -6 to make xz to use about 471Mb
on the tested machine.

(From OE-Core rev: cfd201ecda95d00bc5d70aa5045c649b98ffe8b8)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andrei Gherzan 2012-07-12 21:05:56 +03:00 committed by Richard Purdie
parent 89dc64c287
commit e21c59e020
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ def imagetypes_getdepends(d):
return depstr
XZ_COMPRESSION_LEVEL ?= "-e -9"
XZ_COMPRESSION_LEVEL ?= "-e -6"
XZ_INTEGRITY_CHECK ?= "crc32"
XZ_THREADS ?= "-T 0"