On Sun, 8 Mar 2009 17:35:27 +0100 Raphael Hertzog <hert...@debian.org> wrote:
> In the transition period, dpkg will likely depend on the package providing > install-info. But the long term goal is surely to decouple this from dpkg > and have scripts not assume anything about its availability. But this > could be moot sooner if we implement what I suggested below. > > > > I would really suggest that you design a solution that doesn't require > > > the postinst snippet at all. A simple solution could be: > > > - have a package "install-info" register a file trigger on > > > /usr/share/install-info/ > > > - have other packages provide a .install-info file in that directory that > > > tells how install-info should be called > > > - add a dh_installinfo helper to automatize the installation of this file > > > - have info readers depend on the new install-info package > > > > > > Opinions ? > > > > One thing I cannot do is modify the relevant debian/rules of the > > packages concerned because Grip does not rebuild any packages, in order > > to retain binary compatibility with Debian. > > This "solution" is not for Emdebian, it's for Debian as a whole. So you > would not have to modify anything. OK, sorry for the misunderstanding. Do we know how many packages use info documents? $ ls /usr/share/info/*.gz -1|xargs dpkg -S|cut -d':' -f1 |sort -u|wc -l 45 that's just on this system. I've had a quick look via UDD but I can't see how the existing table structures can provide information on what packages do in postinst scripts. The initial set would be (based on a Lenny debootstrap): Clint Adams <sch...@debian.org> cpio sed Eric Dorland <e...@debian.org> automake1.10 automake1.7 Bdale Garbee <bd...@gag.com> gzip LaMont Jones <lam...@debian.org> util-linux Matthias Klose <d...@debian.org> readline5 Noèl Köthe <n...@debian.org> wget Steve Langasek <vor...@debian.org> nano (U) Chuan-kai Lin <ck...@debian.org> findutils (U) Jordi Mallach <jo...@debian.org> nano Andreas Metzler <ametz...@debian.org> findutils Michael Stone <mst...@debian.org> coreutils Santiago Vila <sanv...@debian.org> gettext m4 Martin Zobel-Helas <zo...@debian.org> ed If a simple debootstrap works without info documents, it makes it a lot easier to manage because workarounds don't need to be forced into the debootstrap stage but can be handled afterwards. Still, it would appear to be a reasonable size transition - I don't have the time to push the entire thing. All I want is for install-info to not get in the way of the installations. -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
pgpHMhgiN4t4f.pgp
Description: PGP signature