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:
parent
e91d78ce4b
commit
aa7edc6ef1
|
@ -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:
|
||||||
|
|
1
mk/ci.mk
1
mk/ci.mk
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue