Software Distributor Administration Guide (March 2009)

Table Of Contents
11.4.3.2 SW_INITIAL_INSTALL
This variable is normally unset. If it is set, the swinstall session is being run as
the back end of an initial system software installation (that is, a “cold” install).
11.4.3.3 SW_KERNEL_PATH
The path to the kernel. The default value is /stand/vmunix.
11.4.3.4 SW_SESSION_IS_KERNEL
Indicates whether a kernel build is scheduled for the current install/remove session.
A “true” value indicates that the selected kernel fileset is scheduled for a kernel
build and that changes to /stand/system are required.
A null value indicates that a kernel build is not scheduled and that changes to
/stand/system are not required.
The value of this variable is always equal to the value of SW_SESSION_IS_REBOOT.
11.4.3.5 SW_SESSION_IS_REBOOT
Indicates whether a reboot is scheduled for a fileset selected for removal. Because
all HP-UX kernel filesets are also reboot filesets, the values of this variables is
always equal to the value of SW_SESSION_IS_KERNEL.
11.4.3.6 SW_SYSTEM_FILE_PATH
The path to the kernel’s system file. The default value is /stand/system.
11.4.4 Variables That Affect swverify
11.4.4.1 SW_IS_COMPATIBLE
Designed to help you determine if installed software is incompatible and should
be removed from a system.
For use during the execution of a verify script, which is called by the swverify
command.
The variable will be set to true if the software being considered is compatible with
the system on which it is installed.
Set to false if the software being considered incompatible with the system on which
it is installed.
11.5 Execution of Control Scripts
This section details how each control script is executed.
11.5 Execution of Control Scripts 277