Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: aw on November 25, 2016, 03:46:08 AM

Title: xz compressed squashfs extensions
Post by: aw on November 25, 2016, 03:46:08 AM
Hi,

Would it be possible to compile future versions of the TinyCore kernel with the option:

Code: [Select]
CONFIG_SQUASHFS_XZ=y
This would allow the mounting of xz compressed extensions created with mksquashfs dir extension.tcz -comp xz.

As many are aware, xz provides significant improvement in compression / space reduction compared to gzip.

Secondly, rather that compressing kernel modules with *.ko.gz, they could also be compressed to *.ko.xz to save even more space.
Title: Re: xz compressed squashfs extensions
Post by: bmarkus on November 25, 2016, 04:32:34 AM
Read Core Book on this topic why xz is not used with tcz packages.
Title: Re: xz compressed squashfs extensions
Post by: curaga on November 25, 2016, 04:57:23 AM
The kernel support could be added, as it doesn't seem to be too big. But for modules and extensions, it is far too slow and too memory hungry.
Title: Re: xz compressed squashfs extensions
Post by: aw on November 25, 2016, 06:25:11 PM
Thanks. In that case it might lead to more problems if people begin making extensions compressed with xz.. perhaps a better idea to keep it disabled/out of the kernel.