aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-07-06 03:44:31 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-07-06 03:44:31 +0200
commitc282bf0b47ed82baadd7967e68f5c6006ee34dc8 (patch)
tree2a9644aaea664b5a80b0eabed0704b56a06e799e
parentBump xfsprogs to v5.12.0 (diff)
downloadgenkernel-c282bf0b.tar.gz
genkernel-c282bf0b.tar.bz2
genkernel-c282bf0b.zip
gen_funcs.sh: get_tar_cmd(): Use 'xz -T<makejobs>' instead of pxz
No need to depend on pxz for multithreaded compression anymore. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-xgen_funcs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_funcs.sh b/gen_funcs.sh
index 7257229..d40607c 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -1073,7 +1073,7 @@ get_tar_cmd() {
pcmd=$(which pbzip2 2>/dev/null)
elif [[ "${archive_file}" == *.tar.xz ]]
then
- pcmd=$(which pxz 2>/dev/null)
+ pcmd="'xz -T$(makeopts_jobs)'"
elif [[ "${archive_file}" == *.tar.gz ]]
then
pcmd=$(which pigz 2>/dev/null)