swpackage.4 (2010 09)

s
swpackage(4) swpackage(4)
match to the output of the model
command on the supported target machine(s).
number
Defines the part or order number for the product.
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 multi-
ple 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
multiple 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
multiple 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
matching 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.
HP-UX 11i Version 3: September 2010 13 Hewlett-Packard Company 13