swpackage.4 (2010 09)
s
swpackage(4) swpackage(4)
PRODUCT SPECIFICATION FILE SYNTAX
A PSF is structured as follows:
[<distribution specification>]
[<vendor specification>]
[<category specification>]
[<bundle specification>]
...
<product specification>
[<control script specifications>]
[<subproduct specifications>]
<fileset specification>
[<control script specifications>]
<file specifications>
[<fileset specification>]
...
[<vendor specification>]
[<product specification>]
...
In summary, the
swpackage user can:
• Specify one or more products.
• For each product, specify one or more filesets.
• For each fileset, specify one or more files.
• (optional) Specify attributes for the target depot or tape.
• (optional) Specify one or more bundles, defining the bundle contents.
• (optional) Specify vendor information to be used with subsequent products and bundles.
• (optional) For each product, specify one or more subproducts, defining the subproduct contents.
• (optional) For each product or fileset, specify one or more control scripts.
Each software object has user-defined attributes. Most attributes are optional. All objects and attributes
are defined using a
keyword value
syntax. The
keyword is an identifier for the attribute.
Some attributes allow multiple values. You can specify values with a keyword/list syntax:
keyword value1 value2 value3 ...
You can also use a list following the keyword:
keyword
value1
value2
value3
...
Specific rules for each keyword are:
• All keywords require one or more values, except as noted. If the value is missing an error is
given.
• Comments must be preceded by
#. A comment can appear on a line by itself or following the
keyword-value syntax within the PSF.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010