On Tue, 20 Nov 2012, Paul Wise wrote:

It would be great to merge this branch, for now I've gone for a
workaround calling the cdbs Makefile before dh_installdeb.

The dh_divert stuff kinda ties into the declarative diversions stuff:

http://wiki.debian.org/SummerOfCode2011/DeclarativeDiversions

The diversions stuff in config-package-dev seems like a workaround for
dpkg being buggy with conffiles:

http://bugs.debian.org/363524
http://bugs.debian.org/492222

Yup, DeclarativeDiversions seems like the right long-term answer, but dpkg doesn't currently support it (as far as I know?), and a bunch of config-package-dev users want support on old Debian/Ubuntu versions, so it won't be obsolete even when dpkg gets that support. It seems likely that we should have config-package-dev end up using declarative diversion support when that lands, but I don't think anyone's thought about designing that transition.

And yes, most of why config-package-dev diverts files in favor of a symlink to a new file, instead of to the new file itself, is to be more robust to dpkg.

--
Geoffrey Thomas
[email protected]


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to