xz compression (was: Re: please upload nvidia-cuda-toolkit 5.0.24-1 to experimental)

Andreas Beckmann debian at abeckmann.de
Wed Sep 12 10:35:53 UTC 2012


> Have you considered (not for this release, since I'm almost done) using xz
> compression for the *.deb files?  The size of a lot of these packages is
> huge, and generally that means that xz compression will be a considerable
> win.
> 
> override_dh_builddeb:
> 	dh_builddeb -- -Zxz
> 
> will do it.  (I suspect it will become the default at some point.)

Ack. Doing so for n-g-d now, saves 13 MB (24%) on amd64. This will
propagate to the legacy drivers once I merge the packaging changes ...
Will do so for the next upload of n-c-t, too. Everything else is not big
enough to be worth manual handling.

Is xz save for being used in squeeze-backports? Just to be on the save
side, I made this conditional, excluding squeeze-backports.

> Similarly, you may want to consider that for the *.orig.tar.gz tarball,
> making that *.orig.tar.xz instead.  That requires no special support as
> long as you're using a 3.0 source format, which I see you already are.
> 
> I suspect it would shrink quite a bit.

the .orig.tar.gz contains two .run files which are self extracting
.tar.gz files, so swiching compression only marginally changes the size
(tested on n-g-d, which will therefore stay a .tar.gz)

Andreas



More information about the pkg-nvidia-devel mailing list