public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set
@ 2022-12-14  8:48 Sam James
  2022-12-14  8:49 ` Michał Górny
  0 siblings, 1 reply; 2+ messages in thread
From: Sam James @ 2022-12-14  8:48 UTC (permalink / raw
  To: gentoo-dev; +Cc: base-system, Sam James

Closes: https://bugs.gentoo.org/885719
Signed-off-by: Sam James <sam@gentoo.org>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-14  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14  8:48 [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set Sam James
2022-12-14  8:49 ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox