]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
cdrom: Compress file system image using Zstandard
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Jul 2021 16:27:59 +0000 (16:27 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 14 Jul 2021 08:28:46 +0000 (08:28 +0000)
commit5621b0ef0a6b7e36966d9183979538ab5a0b08b5
tree1682a4825181b312d7368ddd652ad7bf3162c1e5
parent646d6b0670e2b56d007675ad2db1ac7670850382
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>
lfs/Config
lfs/cdrom
lfs/flash-images
src/installer/dracut-module/module-setup.sh
src/installer/main.c