Re: .deb format: let's use 0.939, zstd, drop bzip2
- Date: Fri, 10 May 2019 11:30:14 +0200
- From: Andrej Shadura <andrew@xxxxxxxxxx>
- Subject: Re: .deb format: let's use 0.939, zstd, drop bzip2
On Fri, 10 May 2019 at 06:47, Adam Borowski <kilobyte@xxxxxxxxxx> wrote:
> > The crazy idea I came up with at the time was to use a dual-format PAX+ar
> > container (that would embed the ar(5) header in the first PAX name entry).
> > This would make old tools at least detect this is a .deb package, with a
> > higher major version.
> > So I think Andrej is on the spot, and we should just switch from ar(5)
> > to tar(5) as the container
> I would heavily advise against archive-in-archive. Especially not tar, with
> its block madness. The blocks disappear when compressed but you're not
> going to compress the outer layer. Also, you can't shed the outer layer of
> tar without a filter.
You may be amazed, but that’s actually what ipkg used to do (and opkg
(I think it would be quite ironic if Debian switches to a package
format derived from Debian to be used elsewhere.)