diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-12 21:05:56 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-16 08:36:57 -0700 |
commit | cfd201ecda95d00bc5d70aa5045c649b98ffe8b8 (patch) | |
tree | 16eeb7120d45686e0710d2c80d5d46d590d5b99e /meta | |
parent | 81c8e8a81e90ce95042e9fff8bac6fa011c416d1 (diff) | |
download | openembedded-core-cfd201ecda95d00bc5d70aa5045c649b98ffe8b8.tar.gz openembedded-core-cfd201ecda95d00bc5d70aa5045c649b98ffe8b8.tar.bz2 openembedded-core-cfd201ecda95d00bc5d70aa5045c649b98ffe8b8.zip |
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.
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>
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 b19ad3beee..727d8d6f8f 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -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" |