Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
When archiving a product that contains kernel filesets onto a tape media, swpackage puts these
filesets first within the archive to provide efficient access by swinstall. swpackage also orders
filesets based on prerequisite dependency relationships.
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.
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 193).
192 Creating Software Packages