Software Distributor Administrator Guide (September 2010)
postkernel
Defines a kernel build script to be executed when kernel filesets
are loaded. Kernel filesets have the is_kernel attribute set to
true. The default kernel script is /usr/sbin/mk_kernel. (See
the manual reference page for mk_kernel(1M) for more information.)
The default script executes when the postkernel attribute is not
specified. Only one kernel build script is allowed per product, and
the script executes only once, even if defined for multiple filesets.
readme
A text file of the README information for the product. The value
must be a pointer to the filename containing the text
revision
The revision information (release number, version) for the product
or bundle.
title
A one-line string that further identifies the product or bundle.
vendor_tag
Associates this product or bundle with a vendor object defined
separately in the PSF, if that object has a matching tag attribute.
end
Ends the product or bundle specification. No value is required.
This keyword is optional. If you use it and it is incorrectly placed,
the specification will fail.
10.4.2.4.6 Control Script Specification
SD-UX supports execution of product and fileset control scripts that allow you to
perform additional checks and operations with other HP-UX commands and functions.
The swask, swinstall, swconfig, swverify, and swremove commands each can
execute one or more control scripts on the primary roots. All scripts are optional but
many times are needed correctly complete the task that you want your software package
to perform. See Chapter 11: “Using Control Scripts ” (page 269) for a complete discussion
of control scripts.
10.4.2.4.7 Subproduct Specification
The subproduct specification lets you group filesets within a larger product specification.
Subproducts are optional. A subproduct specification looks like this:
subproduct
tag Manager
contents manager agent packager man doc
description </mfg/sd/data/manager/description
title SD Management Interfaces Subset
end
Each keyword defines an attribute of a subproduct object. If a subproduct object is
specified, swpackage requires the subproduct, tag, and contents keywords.
subproduct
Keyword that begins a subproduct specification.
tag
The subproduct’s identifier (short name).
240 Creating Software Packages