cdrom: Compress file system image using Zstandard

This patch uses the new Zstandard algorithm to compress the file system
image on the ISO image. This comes with these advantages:

* Compression is about twice as fast than XZ with the parameters we have
  selected here
* We use a lot less memory during compression and can therefore utilise
  all processor cores of the build machines
* Decompression (when installing IPFire and when creating the
  flash-image) is substantically faster

The downside is that the generated ISO image is slighty larger (~10MiB)
which I am okay with as a trade-off for the points mentioned above.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2021-07-13 16:27:59 +00:00
committed by Arne Fitzenreiter
parent 646d6b0670
commit 5621b0ef0a
5 changed files with 9 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ install() {
instmods ext4 iso9660 reiserfs vfat xfs
# Extraction
inst_multiple tar gzip lzma xz
inst_multiple tar gzip zstd
# Networking
inst_multiple dhcpcd ethtool hostname ip ping sort wget