squashfs4: use our lzma props settings again instead of the defaults (smaller images...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2009 14:52:15 +0000 (14:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2009 14:52:15 +0000 (14:52 +0000)
SVN-Revision: 18273

tools/squashfs4/patches/130-lzma_props.patch [new file with mode: 0644]

diff --git a/tools/squashfs4/patches/130-lzma_props.patch b/tools/squashfs4/patches/130-lzma_props.patch
new file mode 100644 (file)
index 0000000..3ac6b9b
--- /dev/null
@@ -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) {
+               /*