make-release: switch to .xz format by default

For a long time, we provide two compression formats in the
download area, .bz2 and .xz.  There's absolutely no reason
to provide two in parallel, .xz compresses better, and all
the links we use points to .xz.  Downstream distributions
mostly use .xz too.

For the release maintenance providing two formats is definitely
extra burden too.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Michael Tokarev 2024-03-04 21:46:39 +03:00
parent b1f1dc91c0
commit 9bc9e95119

View File

@ -47,5 +47,5 @@ meson subprojects download $SUBPROJECTS
CryptoPkg/Library/OpensslLib/openssl \ CryptoPkg/Library/OpensslLib/openssl \
MdeModulePkg/Library/BrotliCustomDecompressLib/brotli) MdeModulePkg/Library/BrotliCustomDecompressLib/brotli)
popd popd
tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination} tar --exclude=.git -cJf ${destination}.tar.xz ${destination}
rm -rf ${destination} rm -rf ${destination}