On Thu, 24 Jan 2008, Ian Jackson wrote:
> Yes, but if the decompressor packages are reorganised at all, or we
> decide to change again how it is implemented in dpkg, all of those
> packages will become broken.
> 
> Given that this will be a pre-depends and will be in a large number of
> packages, I think it is important that it be very stable.

Ok, makes sense.

> > I would only be in favor of that if we modify dpkg to auto-generate that
> > dependency, unfortunately right now we only know how to compress when
> > "dpkg-deb -b -Z<something>" is called and this is after dpkg-gencontrol
> > obviously.
> 
> How about if we arrange to pass -Z<something> to dpkg-gencontrol, and
> have a table in dpkg-dev to map <something> to
> deb-decompressor-<something> for values where it is needed ?

The problematic part is "arrange to pass -Z<something> to
dpkg-gencontrol" ... the -Z of dpkg-buildpackage is for dpkg-source and
not dpkg-deb -b. And even if we knew right from the start what compressor
to use, the dpkg-gencontrol call is hidden in debian/rules and we have no
way to pass anything (except maybe an environment variable which isn't
really nice).

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