Installing a Custom Constraint Package

Similar to using the Oracle Solaris constraint packages described in the previous section, you can create your own custom constraint package to specify the constraints you want. You might want to specify a constraint that is different from the constraints that are available in Oracle Solaris packages.

  • Create the constraint package and install the package from a local IPS package repository or package archive file.

  • To change the constraints, modify and redeliver the custom constraint package, and use pkg update to install the new constraint package.

Using a custom constraint package to control the version of software that can be installed enables you to easily maintain different versions of Oracle Solaris on different systems without maintaining multiple package repositories. Each system can install a different version of the custom update control package. All systems share the same package repository that contains all versions of software needed by any of the systems.