Re: icon cache scriplet guideline update

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

 



Ralf Ertzinger napsal(a):
> "Chitlesh GOORAH" <chitlesh@xxxxxxxxxxxxxxxxx> wrote:
>> 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).
-p /sbin/ldconfig is special-cased within rpm.  It is not a generally
available feature.

> 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?
IIRC rpm does know it needs run ldconfig before any further scriptlets.
	Mirek

--
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