On Wed, Sep 12, 2012 at 11:58:24PM +0100, Cristian Morales Vega wrote:
On 11 September 2012 16:59, Michael Schroeder
<mls(a)suse.de> wrote:
Dunno, I haven't looked at the details. If it
can't be done, I'll try
to push my virtual triggers upstream ;)
The idea is to put a trigger in whatever package provides ldconfig and
make find-provides automatically add this trigger target in every
package that provides a library?
Yes. Useful for lots of other stuff, too like adding/removing info
pages, maybe creating users/groups etc.
No that I think Mageia's file triggers patch is
elegant. But it seems
more flexible than virtual triggers.
I think it's pretty similar, the difference is that virtual triggers
are more "explicit", i.e. you can query which packages trigger ldconfig.
If we ever have programs that
update the caches atomically, how would virtual triggers pass the list
of new libraries to ldconfig?
Hmm, I don't get that. Why would you pass a list of libraries to ldconfig?
Cheers,
Michael.
--
Michael Schroeder mls(a)suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org