HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
s
swpackage(4) swpackage(4)
(Hewlett-Packard Company)
control_file
Defines an arbitrary control file to be included with the product or fileset and stored alongside
the named control files. It is used to include a subscript called by the named scripts or a data file
read by these scripts. If the optional tag component of the value is not specified, swpackage
uses the basename(1) of the source filename as the tag for the control file. Otherwise, the
tag value is used.
configure
Defines the configuration script executed by swinstall and swconfig. This script
configures the target host for the product or fileset (and the product or fileset for any required
information about the target host).
fix Defines the fix script run by swverify to correct and report problems on installed software.
The fix script can create missing directories, correct file modifications (mode, owner, group,
major, and minor), and recreate symbolic links.
postinstall
Defines the installation post-load script executed by swinstall. A fileset script is executed
immediately after the fileset files are loaded. A product script is executed after all lesets for
that product have been installed.
postremove
Defines the post-remove script executed by swremove. A fileset script is executed immediately
after the fileset files are removed. A product script is executed after all filesets for that product
have been removed.
preinstall
Defines the installation pre-load script executed by swinstall. A fileset script is executed
immediately before the fileset files are loaded. A product script is executed before any filesets for
that product have been installed.
preremove
Defines the pre-remove script executed by swremove. A fileset script is executed immediately
before the fileset files are removed. A product script is executed before any filesets for that pro-
duct have been removed.
request
The only script that may be interactive. This script may be run by swask, swinstall,or
swconfig after selection and before the analysis phase in order to request information from
the administrator that will be needed for the configure_script when that script is run later. The
request_script writes all information into the response_file, which the scripts can then use.
unconfigure
Defines the un-configuration script executed by swremove and swconfig. This script
unconfigures the target host for the product or fileset, undoing the configuration performed by
the
configure script.
unpostinstall
Defines the installation pre-restore script executed by swinstall. A fileset script is executed
immediately before the fileset files are restored if there is an error and the
autorecover_product
option is set to true. Note that unpostinstall scripts are sup-
ported for lesets only. It should undo the steps taken by the
postinstall script.
unpreinstall
Defines the installation post-restore script executed by swinstall. A fileset script is executed
immediately after the fileset files are restored if there is an error and the
autorecover_product option is set to true. A product script is executed after all filesets
for that product have been restored. It should undo the steps taken by the preinstall
scripts.
verify
Defines the verification script executed by swverify. This script verifies the configuration per-
formed by the configure script.
Space Files
The space control_file is not a script. It lets you define additional disk space requirements for the lesets
and notes positive disk space impact on any directory or file that results from the actions of control scripts.
Section 4302 17 HP-UX Release 11i: December 2000
___
___