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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E82C158020 for ; Wed, 14 Dec 2022 08:48:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3963BE0825; Wed, 14 Dec 2022 08:48:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0684DE07EF for ; Wed, 14 Dec 2022 08:48:25 +0000 (UTC) From: Sam James To: gentoo-dev@lists.gentoo.org Cc: base-system@gentoo.org, Sam James Subject: [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set Date: Wed, 14 Dec 2022 08:48:19 +0000 Message-Id: <20221214084819.481411-1-sam@gentoo.org> X-Mailer: git-send-email 2.39.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: d24b2df4-9d48-416e-adc4-3dfe8d5dacbe X-Archives-Hash: a15fd06cb70463df371c86eeaef412ab Closes: https://bugs.gentoo.org/885719 Signed-off-by: Sam James --- eclass/unpacker.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 11f04fde7226..5ce681ebaa0d 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -487,7 +487,7 @@ unpack_gpkg() { local dirname=${images[0]%/*} mkdir -p "${dirname}" || die tar -xOf "${gpkg}" "${images[0]}" | ${decomp:-cat} | - tar --no-same-owner -xC "${dirname}" + tar --no-same-owner -C "${dirname}" -xf - assert "Unpacking ${gpkg} failed" } -- 2.39.0