Hi there This is a followup to Debian #583902 which adds --path-include/--path-exclude flags.
First, this is awesome, thanks! I was wondering about some related things: - how are diverts handled, that is what if a package tries to dpkg-divert an ultimately excluded file, will that be excluded and skipped? - I understand that debsums will just work because you strip .list files as well - 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? - 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 - 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? Thanks! -- Loïc Minier -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org