Hi, On Tue, 15 Jun 2010, Loïc Minier wrote: > - how are diverts handled, that is what if a package tries to > dpkg-divert an ultimately excluded file, will that be excluded and > skipped?
No time to check right now but I guess it should not be a problem, you can dpkg-divert a file that is not yet installed so it will consider each file based on its real path. > - I understand that debsums will just work because you strip .list > files as well No, Guillem changed that, .list are not stripped. > - how is integration with APT going to happen? I think APT has an > option to pass random flags to dpkg (DPkg::options I think), but I > wonder whether it would make sense to have an APT variable tracking > list of include/excludes which need to be passed to dpkg on all > calls. Also, this doesn't cover manual installation of packages by > the admin, so perhaps you simply intended to use /etc/dpkg/dpkg.cfg? Yes, it's mainly meant to be put /etc/dpkg/dpkg.cfg.d/ > - is there a way to "apply" the includes to an installed > systems/chroots? That is, I expect this will be used during image > builds or on installed systems, so it will probably have to work from > an existing chroot, just after debootstrap for instance (or perhaps > much later); I expect it might be something like: > * update file exclusion filters in some central (config?) file for > dpkg > * apply the filters Nothing planned AFAIK. The way to do it is to have the option from the very beginning or to reinstall all packages. > - in the same vein, is there a way to track which packages are missing > files as to allow reinstalling them when the filters get updated? > For instance, if I'm stripping all man pages but later decide I want > them, I would remove the filter and reinstall all the relevant > packages, how would list the stripped packages? Comparing dpkg -L with installed files should do it. Cheers, -- Raphaël Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

