Re: icon cache scriplet guideline update

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

 



Hi.

"Chitlesh GOORAH" <chitlesh@xxxxxxxxxxxxxxxxx> wrote:

> I'm firing a RFE since we are talking about scriptlets!
> When installing more than 2 rpms with yum with scriptlets,
> installation is quite slow since for each rpm it has to
> %{_bindir}/xdg-icon-resource forceupdate --theme hicolor  || :
> why not telling yum to do it once only ?

I am not convinced that this can be done in a sane way, and I am,
quite frankly, amazed that it does seem to work with %post -p
(most often used with %post -p /sbin/ldconfig, as it seems).

Assume you have three packages scheduled for update, A, B, and C.
A and C provide libraries, and use "%post -p /sbin/ldconfig". As
I understand it, rpm will only execute ldconfig once, at the end
of the transaction.

Now assume that B calls something in it's %post section that depends
on a library installed from A. Will the linker find the library, if
there has been a change of SONAME?

This problem can be easily transformed into something that does not
involve libraries :)

-- 
The gates are down, the lights are flashing, but the train isn't coming.

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux