Creating software upgrades
An ``upgrade''
is an installation that preserves configuration information
from a previously installed version of the component
and allows the component to use that configuration.
During an upgrade, custom(ADM) must determine the following information for each component:
See cdmtInput(CDMT) for more information about these attributes.
If custom detects an upgradable version on the system being installed (the components specified by upgradeVersions and upgradeMapping exist on the system), it passes the SSO_UPGRADE_COMPONENTS environment variable to the ccs and cqs scripts. This variable defines the list of existing components to upgrade. If the SSO_UPGRADE_COMPONENTS list contains at least one item, the component will be installed in ``upgrade mode''.
In upgrade mode, custom passes either the UPGRADE or OLD_CUSTOM_UPGRADE keyword to the ccs and cqs scripts (depending on whether the component to upgrade was cut to the SSO standard using the CDMT or to the old perms-list standard using the Software Mastering Toolkit (SMT).
To determine which packages of the new component to install, custom uses command-line options. See custom(ADM) for details.
See also: