[Buildroot] [PATCH v2 2/6] pkg-utils: implement INFLATE for .deb files

Guido Martínez guido at vanguardiasur.com.ar
Tue May 19 16:00:58 UTC 2015


On Mon, May 18, 2015 at 09:55:58PM +0200, Thomas Petazzoni wrote:
> Dear Guido Martínez,
> 
> On Mon, 18 May 2015 11:24:44 -0300, Guido Martínez wrote:
> 
> > +ar fp ${DEBFILE} data.tar.xz | ${XZCAT} -d
> 
> Are all Debian .deb packages compressed with the xz compression? How
> many packages would benefit for this being supported at the package
> infra level vs. handling it directly in the toolchain-external package?
I had tried with several packages and found they were all XZ-compressed,
but I just tried with ~6000 packages and saw that only 90% are
XZ-compressed, so this wouldn't work.

I also don't know of any packages we might want to use are only shipped
the .deb format.

> We normally try to not clutter the package infra with features only
> useful to one package, especially when the feature can easily be
> implemented at the package level.
Yeah, I agree. I'll drop this and revert back to custom extract
commands.

-- 
Guido Martínez, VanguardiaSur
www.vanguardiasur.com.ar



More information about the buildroot mailing list