]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6
authorAndrei Gherzan <andrei@gherzan.ro>
Thu, 12 Jul 2012 18:05:56 +0000 (21:05 +0300)
committerSaul Wold <sgw@linux.intel.com>
Mon, 16 Jul 2012 15:36:57 +0000 (08:36 -0700)
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.

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>
meta/classes/image_types.bbclass

index b19ad3beee246dab305a484e108065da7c20b089..727d8d6f8f0d52b580e1946d8ff0b6d5ef298ebc 100644 (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"