Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
Phase IV: Make Tape
This optional phase occurs only when you package to a distribution tape.
• In this phase, swpackage copies the source files and a temporary depot catalog to the tape.
• swpackage does a tape space calculation to ensure that the tape can hold the software
package. If one tape cannot hold it all, then swpackage will partition the software across
multiple tapes.
• swpackage cannot compress files when writing to a tape.
10.5.1 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 reuse in another session. See “Session Files”
(page 39).
-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”
(page 36).
-s psf|directory Specifies the Product Specification File to use or the existing
directory to use as the source for the packaging session.
-S session_file Run the command based on values saved from a previous
installation session, as defined in session_file. See “Session
Files” (page 39).
-x option=value Sets a command option to value and overrides default values
or a values in options files. See “Changing Command Options”
(page 199).
-X option_file Read session options and behaviors from option_file. See
“Changing Command Options” (page 199).
198 Creating Software Packages