Skip to content
Snippets Groups Projects
Commit aa7edc6e authored by bjorn3's avatar bjorn3
Browse files

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).
parent e91d78ce
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,8 @@ before_script: ...@@ -21,7 +21,8 @@ before_script:
nasm \ nasm \
pkg-config \ pkg-config \
texinfo \ texinfo \
wget && wget \
zstd &&
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none
img: img:
......
...@@ -8,6 +8,7 @@ ci-img: FORCE ...@@ -8,6 +8,7 @@ ci-img: FORCE
rm -rf $(IMG_DIR) rm -rf $(IMG_DIR)
mkdir -p $(IMG_DIR) mkdir -p $(IMG_DIR)
$(MAKE) demo desktop server $(MAKE) demo desktop server
cd $(IMG_DIR) && zstd --rm *
cd $(IMG_DIR) && sha256sum -b * > SHA256SUM cd $(IMG_DIR) && sha256sum -b * > SHA256SUM
# The name of the target must match the name of the filesystem config file # The name of the target must match the name of the filesystem config file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment