HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 24 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
[software_selections] [@ directory |device ]
Command Line Arguments
-p
Previews the package operation without performing the actual packaging. Preview
mode is not enabled by default.
-v
Requests verbose mode. This option affects only standard output and not the log files.
-s directory
An existing directory depot (which already contains products) to be used as the
source.
-x option=value
Sets the specified command option to the value given, overriding any other values for
that option. Patch related command options are specified below.
s/w_selections
One or more software specifications.
Target
If you are creating a distribution depot (directory), this operand defines the location
of the directory. Without this operand, /var/spool/sw is used as the default
depot directory.
If you are creating a distribution tape, this operand names the device file on which to
write the tar archive. The device file must exist so that swpackage can determine if
the media is a DDS tape or a disk file. Without this operand, swpackage uses the
device file /dev/swtape.
The following options have the most relevancy to patching. Where appropriate, default values
are shown. For the full set of available options, consult the swpackage(1m) man page or refer to
the Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3.
Options
option=default value
Description
compress_files=false
Setting this option to true causes swpackage to compress files before packaging them. This creates smaller
depots.
layout_version=1.0
Specifies the POSIX layout version to which the SD-UX commands conform when writing distributions.
Supported values are 1.0 (default) and 0.8. Refer to the swpackage(1m) manpage or the Software Distributor
Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 for more information.
target_type=directory
Defines the type of distribution to create. The recognized types are directory and tape.
Examples
Package the products defined in the PSF products into the default target depot:
swpackage -s products