Packaging and Delivering Software With the Image Packaging System in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Best Practices for Mediated Links

Do not deliver the same path as a link in one package and a directory or file in another package. In general, do not deliver the same path more than once. If you deliver the same link path more than once, make sure each instance has a different target, and make sure each instance participates in the same mediation.

Remember to include all necessary paths in the mediation. Libraries, configuration files, man pages, and other file system objects might be different for each implementation.

If you anticipate delivering additional implementations of an application, define the mediation in the original package so that the original package will be a participant in the mediation when other implementations are delivered. Otherwise, you will need to deliver an update to the original package, or users will not be able to select the original implementation as the preferred implementation.

If other software has a dependency on software that participates in a mediation, and if any version of that software satisfies the dependency, use a require-any dependency. See Depend Actions for information about require-any dependencies.

For ease of use, the value specified for mediator-version should match the version of the package that is delivering the link. Setting the version value appropriately helps administrators determine what software is participating in the mediation, which packages delivered that software, and which version of the software is currently set as the preferred version.