Skip to content

Commit

Permalink
Added multi-threading to xz compression
Browse files Browse the repository at this point in the history
  • Loading branch information
uli-heller committed Dec 28, 2022
1 parent 4613e0a commit fffe007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit fffe007

Please # to comment.