Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: gregg_a_g on November 12, 2011, 11:41:58 AM
-
Is there a reason there is no "XZ" compression/decompression support
in the "squashfs-tools-4.x" extension? When I use "unsquashfs -v" I get
unsquashfs version 4.2 (2011/02/28)
copyright (C) 2011 Phillip Lougher <phillip@lougher.demon.co.uk>
which I thought had "XZ" included....
Comments: This extension contains mksquashfs and unsquashfs.
It uses zlib, no LZO/XZ support is included.
To make a squashfs image of a directory:
# mksquashfs directory/ filename.extensionname
This extension is PPI compatible.
Defaults to 4096 block size used by TC extensions
-
Probably because the TC programmers chose to use zlib with 4K blocks.
-
Thanks, Gerald. So if I have an archive that I want to "look inside of" that uses "XZ" compression, I'll have to rebuild unsquashfs?
-
It would add an unnecessary dep to squashfs-tools (liblzma). Yes, a rebuild with the xz and xz-dev extensions should work.
-
So, I rebuilt squash/unsquash and was able to read the archive I wanted to look at. What do you mean when you
say it would "add an unnecessary dep to squashfs-tools"?
Thanks again!
-
As we only use the deflate compression, having xz as a dep would be unnecessary for most uses.