swpackage.4 (2010 09)

s
swpackage(4) swpackage(4)
...
end
Each keyword defines an attribute of a product or bundle object. For each product specified,
swpack-
age requires only the product and tag keywords, plus one or more contained
fileset definitions.
For each bundle specified,
swpackage requires the bundle, tag, and contents keywords.
product
Required keyword that begins the product specification.
tag Defines the identifier (short name) for the product or bundle.
architecture
Describes the target system(s) on which the product or bundle will run. Provides a human-
readable summary of the four
uname attributes which define the exact target system(s) the
product supports.
bundle
Required keyword that begins the bundle specification.
category_tag
A repeatable tag-based attribute identifying a set of categories of which the software object is a
member. This is used as a selection mechanism and can be used independent of patches. The
default value is an empty list or patch if the is_patch attribute is set to true
.
Like
vendor_tag, this attribute can be used as a pointer to a category object that contains
additional information about the category (for example, a one-line title definition and a
description of the category).
Note that the category tag
patch is reserved. When is_patch is set to true, a built-in
category_tag attribute of value patch is automatically included.
NOTE: You can only change the
patch value by performing a swpackage operation or by
using swmodify to change the value of the is_patch attribute.
contents
The list of fully qualified software_specs
(all version-distinguishing attributes
included) for the bundle contents. The contents should also be at the fileset level and include
all dependencies. More general software_specs are also supported, including bundles contain-
ing other bundles, but the bundle contents might vary between invocations.
copyright
Defines the copyright information for the product or bundle; the value is either the text itself
(within double-quotes) or a pointer to the filename containing the text.
description
Defines the multi-paragraph description of the product or bundle; the value is either the text
itself (within double-quotes) or a pointer to the filename containing the text.
directory
Defines the default, absolute pathname to the directory in which the product’s files will be
installed (that is, the root directory of the product). If this attribute is not specified,
swpack-
age assigns a value of "/".
is_locatable
Defines whether the product or bundle can be installed into any directory, or whether it must
be installed into a specific directory. If this attribute is not specified, swpackage assigns a
value of "true".
is_patch
Identifies a software object as a patch. The default value is false. When set to true,a
built-in category_tag attribute of value patch is automatically included.
layout_version
The version of the IEEE Standard 1387.2 to which the HP-specific data_model_revision con-
forms. Possible values are 1.0 (the default value) or 0.8.
machine_type
Defines the machine(s) on which the product will run. (If not specified, swpackage assigns a
value of "*", meaning the product runs on all machines.) If there are multiple machine plat-
forms, use wildcards or use the ’|’ character to separate them. This attribute should pattern
12 Hewlett-Packard Company 12 HP-UX 11i Version 3: September 2010