aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs4/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-02 14:52:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-02 14:52:15 +0000
commit7e7a567b1402f069ee0c6cbd32077b25eb0ccd30 (patch)
tree289a29131c15b2a4bfb63bf68ec9edabfdf9ed2d /tools/squashfs4/patches
parent5133678e0d0d3a936aa976f1c6541a8eff2a623a (diff)
downloadupstream-7e7a567b1402f069ee0c6cbd32077b25eb0ccd30.tar.gz
upstream-7e7a567b1402f069ee0c6cbd32077b25eb0ccd30.tar.bz2
upstream-7e7a567b1402f069ee0c6cbd32077b25eb0ccd30.zip
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
Diffstat (limited to 'tools/squashfs4/patches')
-rw-r--r--tools/squashfs4/patches/130-lzma_props.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/squashfs4/patches/130-lzma_props.patch b/tools/squashfs4/patches/130-lzma_props.patch
new file mode 100644
index 0000000000..3ac6b9b033
--- /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) {
+ /*