dependencies and the %post section

Fulko Hew fulko.hew at gmail.com
Wed Oct 14 13:14:26 UTC 2009


A simple question that may be somewhat off-topic for this list:

If I develop an RPM package (pkg1) that has another package as
a dependency (pkg2)
... and the installation is performed via yum (or equivalent)...
is it safe to assume that the %post section of pkg1 will be
executed _before_ the %post of pkg2 ?

ie. Will what I depend on be fully installed before the system
    gets around to installing _my_ package?

For example:

I have a web server based app that needs httpd and mysql...
In _my_ %post section, I'd like to initialize _my_ tables
in the database.

Will mysql (and httpd) be done installing by the time the
system gets around to installing my package?

TIA
Fulko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20091014/5b5496e2/attachment.htm>


More information about the Rpm-list mailing list