On Sat, May 26, 2007 at 02:21:06 -0400,
Jesse Keating <jkeating(a)redhat.com> wrote:
On Saturday 26 May 2007 02:18:15 Bruno Wolff III wrote:
> But I suspect that ldconfig and desktop
> update could be run once for the whole transaction rather than once
> for each package that needs it.
It's not as simple as that though, as some packages need to run themselves
in %post and thus need to have their libraries accessable and thus really do
need ldconfig ran. Or even more difficult to discover is package B needs to
run package A in %post so Package A's libraries must be acessable.
That said, yes, there is a lot to gain for batching these timely operations.
Doing so in an intelligent way that doesn't break things is going to be
difficult at best.
Is it work entering an RFE genericly saying something like try to find
a way to run common post install stuff once per transaction? Would such
a bugzilla be best filed against rpm? (The process spawning these tasks
appeared to be anaconda, but it feels like an rpm feature.