From c55ca3f62b4c191e675ae24e95efe3c49ac66662 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 14 Dec 2022 08:47:38 +0000 Subject: [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/885719 Signed-off-by: Sam James Closes: https://github.com/gentoo/gentoo/pull/28603 Signed-off-by: Michał Górny --- eclass/unpacker.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 11f04fde72260..5ce681ebaa0d4 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" }