mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:04:38 +02:00
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
This commit is contained in:
parent
e1ec0a87e1
commit
6456a706de
11
tools/squashfs4/patches/130-lzma_props.patch
Normal file
11
tools/squashfs4/patches/130-lzma_props.patch
Normal file
@ -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) {
|
||||||
|
/*
|
Loading…
Reference in New Issue
Block a user