summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-14 08:47:38 +0000
committerMichał Górny <mgorny@gentoo.org>2022-12-14 11:16:18 +0100
commitc55ca3f62b4c191e675ae24e95efe3c49ac66662 (patch)
tree33a9488bc78358d2e62005659eaf40d12b587cd6 /eclass
parentunpacker.eclass: support >=app-arch/xz-utils-5.4.0 for lzip decompression (diff)
downloadgentoo-c55ca3f62b4c191e675ae24e95efe3c49ac66662.tar.gz
gentoo-c55ca3f62b4c191e675ae24e95efe3c49ac66662.tar.bz2
gentoo-c55ca3f62b4c191e675ae24e95efe3c49ac66662.zip
unpacker.eclass: fix unpack_gpkg with TAPE set
Closes: https://bugs.gentoo.org/885719 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28603 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/unpacker.eclass2
1 files changed, 1 insertions, 1 deletions
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"
}