On Thu, 24 Jan 2008, Ian Jackson wrote:
> How do we expect to choose which packages will use which compressors ?

Right now, maintainers choose that by adding the right -Z option in the
dh_builddeb call (which forwards the option to dpkg-deb -b). So they put
it directly in the rules file.

> Ideally in the end the maintainer would decide, so it ought to be in
> the source package somewhere.  But we want to override it too.
> 
> I think for overriding it, an environment variable is fine.  Perhaps
> we could just tell maintainers to put
>    export DPKG_DEB_COMPRESSOR ?= ...
> in their rules.  Hrm, that doesn't work so well if different packages
> want different compression schemes.  A debian/control file field ?

The debian/control field is the only viable option IMO. It would be
somewhat similar to the Package-Type: header which has no real use except
influencing the behaviour of another tool during the build.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



Reply via email to