summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-07-12 21:05:56 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:53:56 +0100
commite21c59e020bd16d8f3395dd9a9c7d1431c495771 (patch)
tree2e5d0e8db53f0a92b27c05a2a930a2c14f48c73f
parent89dc64c28763e6b3f04ca504bb968293a6e5acd9 (diff)
downloadpoky-e21c59e020bd16d8f3395dd9a9c7d1431c495771.tar.gz
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>
-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 b19ad3beee..727d8d6f8f 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -122,7 +122,7 @@ def imagetypes_getdepends(d):
122 return depstr 122 return depstr
123 123
124 124
125XZ_COMPRESSION_LEVEL ?= "-e -9" 125XZ_COMPRESSION_LEVEL ?= "-e -6"
126XZ_INTEGRITY_CHECK ?= "crc32" 126XZ_INTEGRITY_CHECK ?= "crc32"
127XZ_THREADS ?= "-T 0" 127XZ_THREADS ?= "-T 0"
128 128