[oe-commits] Andrei Gherzan : image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6

git at git.openembedded.org git at git.openembedded.org
Tue Jul 17 09:29:50 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: cfd201ecda95d00bc5d70aa5045c649b98ffe8b8
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cfd201ecda95d00bc5d70aa5045c649b98ffe8b8

Author: Andrei Gherzan <andrei at gherzan.ro>
Date:   Thu Jul 12 21:05:56 2012 +0300

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 at dominion.thruhere.net>
Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 b19ad3b..727d8d6 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"
 





More information about the Openembedded-commits mailing list