Closed aparcar closed 4 years ago
The LZMA identifiers are there mainly for completeness, but LZMA support has been deliberately not implemented in favour of the improved LZMA2 format, generated by the XZ compressor.
Thank you for that clarification.
Could you still add LZMA(1) as it is the only supported compression by some routers bootloader?
From squashfs-tools it looks like it can be done with libxz fairly easily. I will make sure to include it in the next release.
Implemented in commit acce940 with a small fixup in f45b36e.
Uncompression was tested by generating an image with mksquashfs and unpacking it with rdsquashfs.
Compression was tested by generating an image with tar2sqfs and unpacking it with unsquashfs.
The source code contains some LZMA strings but I can't seem to activate it, please help me out