On Tue, Jun 15, 2010, Martin Pitt wrote:
> >  - is there a way to "apply" the includes to an installed
> >  systems/chroots?
> Not right now. In our project where we use that we use a
> <projectname>-config package which just "applies" those changes in the
> postinst with some "find | xargs rm" style commands.

 Would be lovely if you script would base it's input (list of filters)
 on the dpkg.cfg format so that it could be included and shipped with
 dpkg as a contributed script.  e.g. dpkg-apply-path-filters or
 something.  That would avoid duplicating the list of path 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?
> 
> I guess you could compare the .list contents with actually installed
> files. Otherwise this would require install --reinstall'ing every
> package which is certainly possible, but takes a lot of effort.

 I wonder how trivial that really is with things like diverts, conffiles
 and such.  But it sounds like a good base, I was asking because I
 wondered whether it would make sense for dpkg to track the delta as
 well.

   Thanks for your replies!
-- 
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

Reply via email to