Software Distributor Administration Guide for HP-UX 11i

Creating Software Packages
Packaging the Software (swpackage)
Chapter 10 351
Using swpackage
swpackage Syntax swpackage [-p][-v][-V][-C
session_file
]
[-d
directory
|
device
][-f
software_file
]
[-s
product_specification_file
|
directory
]
[-S
session_file
][-x
option
=
value
][-X
option_file
]
[
software_selections
][@
target_selection
]
Options and
Operands
-p Previews the specified package session without
actually creating or modifying the depot or tape.
-v Turns on verbose output to stdout and lists messages
for each product, subproduct and fileset being
packaged. (The swpackage logfile in
/var/adm/sw/swpackage.log is not affected by this
option.)
-V List the data model revisions which swpackage can
read. swpackage always packages using the latest data
model revision.
-C
session_file
Run the command and save the current option and
operand values to a session_file for re-use in another
session. See “Session Files” on page 61.
-d
directory
|
device
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 distribution. When
creating a distribution tape, the tape device (file) must
exist, and the target_type=tape option must be
specified.
-f
software_file
Read a list of software selections from a separate file
instead of (or in addition to) the command line. See
“Software Files” on page 58.
-s
product_specification_file
|
directory
Specifies the PSF to use or the existing directory to use
as the source for the packaging session.