aboutsummaryrefslogtreecommitdiff
path: root/compr_lzo.c
AgeCommit message (Collapse)Author
2007-08-03Disable LZO compression by defaultJosh Boyer
When the recent LZO compression support went into mtd-utils recently, it was enabled by default. This means that mkfs.jffs2 will default to creating images with lzo compression as the default. Older kernels cannot decompress such images, so lzo should be disabled by default. The patch below fixes this. To enable lzo compression from now on, simply pass '-X lzo' as an option to mkfs.jffs2. Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2007-07-23Use lzo2 librariesJosh Boyer
Switch to using the more common lzo2 libraries for LZO compression. They should still work with the lzo1x interfaces. Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2007-07-23Add lzo support to mtd-utilsRichard Purdie
Add LZO support to mtd-utils to generate LZO compressed jffs2 images Unlike the kernel version, the standard lzo userspace library is used along with lzo1x_999_compress rather than the lzo1x_1_compress version since better compression ratios can be obtained (at no significant cost to decompression time). Signed-off-by: Richard Purdie <rpurdie@openedhand.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>