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)
Options
swpackage supports the following options:
-p Previews a package session without actually creating or modifying the distribution tape.
-v Turns on verbose output to stdout. Verbose output is enabled by default, see the verbose
option below.
-V List the data model revision that swpackage supports. By default, swpackage always
packages using the latest data model revision.
-C session_file
Save the current options and operands to session_file. You can enter a relative or absolute
path with the file name. The default directory for session files is
$HOME/.sw/sessions/. You can recall a session file with the -S option.
-d directory|device
(Obsolete but allowed for backward compatibility. Use the @ target_selection operand
instead.)
If creating a distribution directory, this option defines the pathname of the directory.If
creating a distribution tape, this option defines the device file on which to write the distri-
bution. When creating a distribution tape, the tape device (file) must exist, and the
-x
media_type=tape
option must be specified (see below).
You can also specify that the
swpackage output be "piped" to an external command
using:
swpackage -d "| <command> " -x media_type=tape -s <source>
The | symbol and command must be quoted because it is interpreted by swpackage and
not the shell.
-f software_file
Read the list of software_selections from software_file instead of (or in addition to) the com-
mand line.
-s product_specification_file|directory
The source PSF describes the product, subproduct, fileset, and file definitions used to build
a software product from a set of source files.
The source can also be an existing directory depot (which already contains products).
-S session_file
Execute swpackage based on the options and operands saved from a previous session, as
defined in session_file. You can save session information to a file with the
-C option.
-x option=value
Set the session option to value and override the default value (or a value in an alternate
options_file specified with the -X option). Multiple -x options can be specified.
-X option_file
Read the session options and behaviors from options_file.
Software Selections
If specified, the software selections cause swpackage to only (re)package those software selections from
the full set defined in the source product_specification_file.Ifnosoftware_selections are specified, then
swpackage will (re)package all the products defined in the source product_specification_file.
The
swpackage command supports the following syntax for each software_selection:
bundle[.product[.subproduct][.fileset]][,version]
product[.subproduct][.fileset][,version]
The = (equals) relational operator lets you specify selections with the following shell wildcard
and pattern-matching notations:
[], *, ?
Bundles and subproducts are recursive. Bundles can contain other bundles and subproducts can
contain other subproducts.
HP-UX Release 11i: December 2000 2 Section 1M915
___
___