Re: xz-compressed control metadata
On Sun, 2012-11-04 at 08:11:25 +0100, Guillem Jover wrote:
> On Sat, 2012-11-03 at 21:56:12 +0100, Philipp Kern wrote:
> > are there plans on the dpkg side to support other compression methods
> > for the control.tar in .deb files? Some of the d-i udebs have large
> > debconf templates which are only compressed with gzip, while xz would
> > yield smaller udebs.
> One problem is that I don't really feel like adding options to select
> the compressor for each different ar member, so if the compressor is
> global it means it cannot be switched to compress the control member
> with anything other than gzip until a dpkg supporting unpacking that
> is in stable, which would seem to be too late for that now (barring
> an exception from the RT of course, althought that might still require
> string changes which would be pretty annoying). And special casing
> udebs is not an option either, because dpkg-deb does not have any
> kind of knowledge about them in the first place.
Having slept over this, it just ocurred to me that I'd be fine with a
new option (something in spirit like --compressor-unified) for dpkg-deb,
which once implemented could be used by debhelper exclusively for udebs
already during jessie, and which would become a noop once and if the
switch to the unified members compressor happens after jessie+1.
I've added this to my TODO list for when I continue reworking the