From 6456a706de91e6ff3309df7eef4e94acb629ea70 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 2 Nov 2009 14:52:15 +0000
Subject: [PATCH] squashfs4: use our lzma props settings again instead of the
 defaults (smaller images on arm/mips)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18273 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 tools/squashfs4/patches/130-lzma_props.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 tools/squashfs4/patches/130-lzma_props.patch

diff --git a/tools/squashfs4/patches/130-lzma_props.patch b/tools/squashfs4/patches/130-lzma_props.patch
new file mode 100644
index 000000000..3ac6b9b03
--- /dev/null
+++ b/tools/squashfs4/patches/130-lzma_props.patch
@@ -0,0 +1,11 @@
+--- a/squashfs-tools/lzma_wrapper.c
++++ b/squashfs-tools/lzma_wrapper.c
+@@ -32,7 +32,7 @@ int lzma_compress(void **strm, char *des
+ 	int res;
+ 
+ 	res = LzmaCompress(d + LZMA_HEADER_SIZE, &outlen, s, size, d,
+-		&props_size, 5, block_size, 3, 0, 2, 32, 1);
++		&props_size, 5, block_size, 1, 2, 2, 32, 1);
+ 	
+ 	if(res == SZ_ERROR_OUTPUT_EOF) {
+ 		/*
-- 
2.20.1