mirror of https://github.com/hak5/openwrt.git
squashfs4: use our lzma props settings again instead of the defaults (smaller images on arm/mips)
SVN-Revision: 18273lede-17.01
parent
2ecc782491
commit
c79b439709
|
@ -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