jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.09k stars 1.07k forks source link

Add --deb-compression-level #2006

Open marcinbarczynski opened 1 year ago

marcinbarczynski commented 1 year ago

The sizes of deb and rpm packages can differ greatly because the default compression levels for deb and rpm packages are different:

Unlike RPMs (--rpm-compression-level), there is no way to specify a compression level for DEBs. This could be achieved by either adding an environment variable to tar, such as XZ_OPT for xz, or by first creating a tar archive and then compressing it.