[debhelper-devel] Bug#204975: Bug#204975: [Build-common-hackers] Bug#204975: cdbs: postrm and postinst have useless call to ldconfig
Niels Thykier
niels at thykier.net
Sun Oct 2 12:25:00 UTC 2016
Loïc Minier:
> Hi,
>
> [...]
> Another perhaps smarter approach would be to do away with postinst requirements entirely by installing
> a ldconfig file-based trigger in libc for *.so files under interesting
directories. This would let
> libc define when to run libc’s ldconfig rather than having each shared
library package carry a
> build-time and install time snippet…
>
> Cheers,
> - Loïc Minier
>
> [...]
At the current time, we have migrated to activation triggers. They are
still in each package, but it does avoid the shell snippets (and all the
related prerm+postinst scripts).
As for using a path trigger, I believe that was ruled out as they are
recursive. The libc-bin package would have to declare an interest in
*all* of /usr/lib, which will generate tons of false-positives. I
suspect it may also be a bit heavy on the dpkg side.
Thanks,
~Niels
More information about the debhelper-devel
mailing list