Software Distributor Administration Guide for HP-UX 11i

Using Control Scripts
Using Environment Variables
Chapter 11 385
Variables That Affect swinstall and swremove
SW_DEFERRED_KERNBLD
This variable is normally unset. If it is set, the actions necessary for
preparing the system file /stand/system cannot be accomplished
from within the postinstall scripts, but instead must be accomplished
by the configure scripts. This occurs whenever software is installed
to a directory other than /.
This variable should be read only by the configure and postinstall
scripts of a kernel fileset.
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).
SW_KERNEL_PATH
The path to the kernel. The default value is /stand/vmunix.
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.
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.