From fffe007bad13076024b9a044ce7304ab5604225d Mon Sep 17 00:00:00 2001 From: Uli Heller Date: Wed, 28 Dec 2022 20:12:44 +0100 Subject: [PATCH] Added multi-threading to xz compression --- create-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-image.sh b/create-image.sh index 5ddc185..27c52c1 100755 --- a/create-image.sh +++ b/create-image.sh @@ -356,6 +356,6 @@ test -n "${PREFIX}" && { ( cd "./${OSDIR}" sudo tar -cpf - * -)|xz -c9 >"${PREFIX}${OS}-${VERSION}-${DEBOOTSTRAP_ARCHITECTURE}-lxcimage.tar.xz" +)|xz -T0 -c9 >"${PREFIX}${OS}-${VERSION}-${DEBOOTSTRAP_ARCHITECTURE}-lxcimage.tar.xz" test -z "${KEEP}" && sudo rm -rf "./${OSDIR}"