[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Delayed ldconfig execution in postinst step



Le Lun 13 Mars 2006 18:38, Eduard Bloch a écrit :
> #include <hallo.h>
>
> * Goswin von Brederlow [Sun, Mar 12 2006, 03:35:42PM]:
> > I think it would be a good idea to have a general dpkg hook to
> > register a command to be run at the end of dpkg. The syntax would
> > be something like this:
> >
> > dpkg-hook /usr/lib/man/update-manpages  - run only once in total
> > dpkg-hook --on-depends foobar ldconfig  - run once before depends
> > of foobar
>
> What is a depends? Do you mean dependency or dependents?
> Further, I would not depend on package installation operations but
> instead invent something like "dpkg-hook --execute ldconfig" to run
> outstanding tasks noted under the name "ldconfig".

you also need a way to enforce the run, e.g. if you change your libc, 
you may want to run the ldconfig ASAP, and to purge its entry from the 
cache of actions to perform at the end.


-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpoxJtd1GiW3.pgp
Description: PGP signature


Reply to: