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 4F53C1382C5 for ; Mon, 22 Jun 2020 15:11:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A36EE08EC; Mon, 22 Jun 2020 15:11:16 +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 1C252E0849 for ; Mon, 22 Jun 2020 15:11:16 +0000 (UTC) From: Mike Gilbert To: gentoo-dev@lists.gentoo.org Cc: base-system@gentoo.org, Mike Gilbert Subject: [gentoo-dev] [PATCH] unpacker.eclass: call BUILD_AR when unpacking deb files Date: Mon, 22 Jun 2020 11:10:55 -0400 Message-Id: <20200622151055.1071297-1-floppym@gentoo.org> X-Mailer: git-send-email 2.27.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 9582c11f-b7ce-4e76-8d74-458f65640974 X-Archives-Hash: 4bdaa3b26738b7736fa7393b324f60d0 Closes: https://bugs.gentoo.org/722054 Signed-off-by: Mike Gilbert --- eclass/unpacker.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 865e2e1a1a58..63aedee4480e 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -17,6 +17,8 @@ if [[ -z ${_UNPACKER_ECLASS} ]]; then _UNPACKER_ECLASS=1 +inherit toolchain-funcs + # @ECLASS-VARIABLE: UNPACKER_BZ2 # @DEFAULT_UNSET # @DESCRIPTION: @@ -279,8 +281,7 @@ unpack_deb() { done } < "${deb}" else - local AR=${AR-ar} - ${AR} x "${deb}" || die + $(tc-getBUILD_AR) x "${deb}" || die fi unpacker ./data.tar* -- 2.27.0