commit: c55ca3f62b4c191e675ae24e95efe3c49ac66662 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Dec 14 08:47:38 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 14 10:16:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55ca3f6
unpacker.eclass: fix unpack_gpkg with TAPE set Closes: https://bugs.gentoo.org/885719 Signed-off-by: Sam James <sam <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28603 Signed-off-by: Michał Górny <mgorny <AT> 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" }
