public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set
@ 2022-12-14  8:48 99% Sam James
  0 siblings, 0 replies; 1+ results
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	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-12-14  8:48 99% [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set Sam James

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