diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-02 14:52:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-02 14:52:15 +0000 |
commit | c79b4397097bca68eb2089f45ac459552ec72c07 (patch) | |
tree | fc1a15c2e20da1d6bdc9a140b25a079f254f8dda /tools/squashfs4 | |
parent | 2ecc782491d29581d045de327797b3885c2cec3d (diff) | |
download | upstream-c79b4397097bca68eb2089f45ac459552ec72c07.tar.gz upstream-c79b4397097bca68eb2089f45ac459552ec72c07.tar.bz2 upstream-c79b4397097bca68eb2089f45ac459552ec72c07.zip |
squashfs4: use our lzma props settings again instead of the defaults (smaller images on arm/mips)
SVN-Revision: 18273
Diffstat (limited to 'tools/squashfs4')
-rw-r--r-- | tools/squashfs4/patches/130-lzma_props.patch | 11 |
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) { + /* |