Re: Replacing ldconfig maintscripts with declarative methods
Niels Thykier writes ("Replacing ldconfig maintscripts with declarative methods"):
> A possible solution is to replace these scripts with an
> "activate-no-await" trigger (again, no-await to avoid trigger cycles).
> I would need libc-bin to promote its trigger to part of its API for this
> to work.
I think this is a good idea.
> * The major concern I have, is that "activate"-triggers are done for
> - unpack (is this ok?)
It had better be ! (Ie I think it is OK.)
> * Performance-wise we would see up to 5 calls to ldconfig instead of
> 1-2 per "dpkg run" (that processes triggers).
OTOH the reduced number of maintscript invocations might well outweigh
that.
Thanks,
Ian.
Reply to: