Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Tue, 06 Jul 2021 01:55:50
Message-Id: 1625535871.c282bf0b47ed82baadd7967e68f5c6006ee34dc8.whissi@gentoo
1 commit: c282bf0b47ed82baadd7967e68f5c6006ee34dc8
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 6 01:44:31 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 6 01:44:31 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c282bf0b
7
8 gen_funcs.sh: get_tar_cmd(): Use 'xz -T<makejobs>' instead of pxz
9
10 No need to depend on pxz for multithreaded compression anymore.
11
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 gen_funcs.sh | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/gen_funcs.sh b/gen_funcs.sh
18 index 7257229..d40607c 100755
19 --- a/gen_funcs.sh
20 +++ b/gen_funcs.sh
21 @@ -1073,7 +1073,7 @@ get_tar_cmd() {
22 pcmd=$(which pbzip2 2>/dev/null)
23 elif [[ "${archive_file}" == *.tar.xz ]]
24 then
25 - pcmd=$(which pxz 2>/dev/null)
26 + pcmd="'xz -T$(makeopts_jobs)'"
27 elif [[ "${archive_file}" == *.tar.gz ]]
28 then
29 pcmd=$(which pigz 2>/dev/null)