HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swpackage(1M) swpackage(1M)
[category specification]
[bundle specification]
[product specification]
[control script specification]
[subproduct specification]
[fileset specification]
[control script specification]
[file specification]
[fileset specification]
...
[product specification]
...
If errors encountered while parsing the PSF result in no valid product definitions, swpackage ter-
minates. All errors are logged to both stderr and the logfile. 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/tape;
(optional) Specify one or more bundles, defining the bundle contents;
(optional) Specify vendor information for products and bundles;
(optional) Specify category information for products, bundles and patches.
(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.
RETURN VALUES
The swpackage command returns:
0 The products specified in the product_specification_file were successfully packaged into the tar-
get depot/tape.
1 An error occurred during the swpackage session (e.g. bad syntax in the
product_specification_file.) Review stderr or the log file for details.
DIAGNOSTICS
The swpackage command writes to stdout, stderr, and to the logfile.
Standard Output
The swpackage command writes messages for significant events. These include:
a begin and end session message,
selection, analysis, packaging, and tape creation messages.
Standard Error
The swpackage command writes messages for all WARNING and ERROR conditions to stderr.
Logfile
The swpackage command logs detailed events to the log file /var/adm/sw/swpackage.log. The
user can specify a different logfile by modifying the logfile option.
EXAMPLES
Package the products defined in the PSF products into the default target depot:
swpackage -s products
Preview the same operation (do not create the target depot), and generate very verbose output:
swpackage -p -vv -s products
Package the products into the target depot no_files, insert references to the source files instead of copying
them into the depot:
swpackage -s products -x package_in_place=true @ no_files
Re-package a specific fileset:
swpackage -s products -x package_in_place=true product.fileset @ no_files
Section 1M922 9 HP-UX Release 11i: December 2000
___
___