Zstd compress all images

I tried gzip, bzip2, xz and xzstd. Xz 22s for a 128MB disk image. Out of
all other options zstd was both the fastest to compress (<1s) and
produced the smallest file (28MB).
This commit is contained in:
bjorn3 2024-01-11 20:16:43 +01:00
parent e91d78ce4b
commit aa7edc6ef1
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,8 @@ before_script:
nasm \
pkg-config \
texinfo \
wget &&
wget \
zstd &&
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
img:

View file

@ -8,6 +8,7 @@ ci-img: FORCE
rm -rf $(IMG_DIR)
mkdir -p $(IMG_DIR)
$(MAKE) demo desktop server
cd $(IMG_DIR) && zstd --rm *
cd $(IMG_DIR) && sha256sum -b * > SHA256SUM
# The name of the target must match the name of the filesystem config file