mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-15 05:49:05 +00:00
kata-deploy: tools: tests: Use zstd instead of xz
Although the compress ratio is not as optimal as using xz, it's way faster to compress / uncompress, and it's "good enough". This change is not small, but it's still self-contained, and has to get in at once, in order to help bisects in the future. Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
9cc97ad35c
commit
ad240a39e6
@@ -430,13 +430,13 @@ EOF
|
||||
function install_kata_core() {
|
||||
declare -r katadir="$1"
|
||||
declare -r destdir="/"
|
||||
declare -r kata_tarball="kata-static.tar.xz"
|
||||
declare -r kata_tarball="kata-static.tar.zst"
|
||||
|
||||
# Removing previous kata installation
|
||||
sudo rm -rf "${katadir}"
|
||||
|
||||
pushd "${kata_tarball_dir}"
|
||||
sudo tar -xvf "${kata_tarball}" -C "${destdir}"
|
||||
sudo tar --zstd -xvf "${kata_tarball}" -C "${destdir}"
|
||||
popd
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user