From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19AFD138334 for ; Fri, 30 Aug 2019 21:41:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7614FE0833; Fri, 30 Aug 2019 21:41:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52A0CE0833 for ; Fri, 30 Aug 2019 21:41:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26FF834A718 for ; Fri, 30 Aug 2019 21:41:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D539A782 for ; Fri, 30 Aug 2019 21:41:27 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1567199065.115571d97d3cbbd281ae233fdfff75c08c8b31da.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: worker_modules/ X-VCS-Repository: proj/genkernel X-VCS-Files: worker_modules/gkbuild.sh X-VCS-Directories: worker_modules/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 115571d97d3cbbd281ae233fdfff75c08c8b31da X-VCS-Branch: master Date: Fri, 30 Aug 2019 21:41:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d75b4929-d933-4502-ad87-08f33d7ce1cd X-Archives-Hash: 267b8fae79cd6a10f2ce4483280294f2 commit: 115571d97d3cbbd281ae233fdfff75c08c8b31da Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Aug 30 20:30:41 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Aug 30 21:04:25 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=115571d9 gkbuild.sh: _gkbuild_main(): Make use of get_tar_cmd() This will allow us to use pxz when available. Signed-off-by: Thomas Deutschmann gentoo.org> worker_modules/gkbuild.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh index 213597a..cb2f385 100644 --- a/worker_modules/gkbuild.sh +++ b/worker_modules/gkbuild.sh @@ -181,8 +181,11 @@ _gkbuild_main() { unset found_dyn_files fi - "${TAR_COMMAND}" -caf "${GKPKG_BINPKG}" . \ - || die "Failed to create binpkg of ${P} in '${GKPKG_BINPKG}'!" + local -a tar_cmd=( "$(get_tar_cmd "${GKPKG_BINPKG}")" ) + tar_cmd+=( '.' ) + + print_info 3 "COMMAND: ${tar_cmd[*]}" 1 0 1 + eval "${tar_cmd[@]}" || die "Failed to create binpkg of ${P} in '${GKPKG_BINPKG}'!" if [ -n "${DU_COMMAND}" ] then