dependencies and the %post section

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux