commit:     c282bf0b47ed82baadd7967e68f5c6006ee34dc8
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  6 01:44:31 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jul  6 01:44:31 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c282bf0b

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 <AT> gentoo.org>

 gen_funcs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

Reply via email to