HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)

s
swpackage(4) swpackage(4)
os_name
Defines the operating system(s) on which the product will run. (If not specified,
swpackage
assigns a value of "*", meaning the product runs on all operating systems.) If there are multiple
operating systems, use wildcards or use the ’|’ character to separate them. This attribute should
pattern match to the value of
uname -s [: getconf KERNEL_BITS]
on the supported target system(s).
os_release
Defines the operating system release(s) on which the product will run. (If not specified,
swpackage assigns a value of "*", meaning the product runs on all releases.) If there are mul-
tiple operating system releases, use wildcards or use the ’|’ character to separate them. This
attribute should pattern match to the value of
uname -r on the supported target system(s).
os_version
Defines the operating system version(s) on which the product will run. (If not specified,
swpackage assigns a value of "*", meaning the product runs on all versions.) If there are mul-
tiple operating system versions, use wildcards or use the ’|’ character to separate them. This
attribute should pattern match to the value of uname -v on the supported target system(s).
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 mk_kernel(1M) for more information.) The default script exe-
cutes 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
Defines the README information for the product or bundle; the value must be a pointer to the
filename containing the text.
revision
Defines the revision (release number, version number) of the product or bundle.
title
Defines the full name (one-line description) of the product or bundle.
vendor_tag
Associates this product or bundle with the last defined vendor object, if that object has a match-
ing tag attribute.
end Ends the product or bundle specification. This keyword is optional.
Subproduct Specification
The following is an example of a subproduct specification:
subproduct
tag Manager
contents commands agent data man
description < data/description.manager
title Management Utilities
end
Each keyword defines an attribute of a subproduct object. If a subproduct is specified, swpackage
requires the subproduct , tag, and contents keywords.
subproduct
Keyword that begins the subproduct specification.
tag Defines the identifier (short name) for the subproduct.
contents
Defines the filesets or subproducts that make up a subproduct. (Subproducts can contain other
subproducts.) The value is a whitespace separated list of fileset or subproduct tag values. In
the PSF, fileset definitions are not contained within subproduct definitions. The contents
keyword is used to assign filesets to subproducts.
HP-UX 11i Version 3: February 2007 13 Hewlett-Packard Company 453