Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: base-system@g.o, Sam James <sam@g.o>
Subject: Re: [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set
Date: Wed, 14 Dec 2022 08:49:53
Message-Id: 3d6d287114f27cbb721c15001f1d0370017398f8.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set by Sam James
1 On Wed, 2022-12-14 at 08:48 +0000, Sam James wrote:
2 > Closes: https://bugs.gentoo.org/885719
3 > Signed-off-by: Sam James <sam@g.o>
4 > ---
5 > eclass/unpacker.eclass | 2 +-
6 > 1 file changed, 1 insertion(+), 1 deletion(-)
7 >
8 > diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
9 > index 11f04fde7226..5ce681ebaa0d 100644
10 > --- a/eclass/unpacker.eclass
11 > +++ b/eclass/unpacker.eclass
12 > @@ -487,7 +487,7 @@ unpack_gpkg() {
13 > local dirname=${images[0]%/*}
14 > mkdir -p "${dirname}" || die
15 > tar -xOf "${gpkg}" "${images[0]}" | ${decomp:-cat} |
16 > - tar --no-same-owner -xC "${dirname}"
17 > + tar --no-same-owner -C "${dirname}" -xf -
18 > assert "Unpacking ${gpkg} failed"
19 > }
20 >
21
22 LGTM. Thanks!
23
24 --
25 Best regards,
26 Michał Górny