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

HP-UX Handbook Rev 13.00 Page 14 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
Note that the swcopy command automatically registers (enables remote access to) any depot that
it creates. You do not need to use the swreg command on depots created by swcopy.
Synopsis
swcopy [XToolkit Options] [-i] [-p] [-v] [-C session_file ] [-f software_file ] [-J jobid ]
[-Q date ] [-s source ] [-S session_file ] [-t target_file ] [-x option=value ] [-X option_file ]
[software_selections] [@ target_selections]
Command Line Arguments
-i
Use an interactive user interface. If the environment variable DISPLAY is set to a
valid X windows display, a graphical user interface is invoked. Otherwise a terminal
user interface (TUI) designed for use on ASCII terminals is invoked. The GUI starts
by default if you enter swcopy without any s/w_selections.
-p
Previews the install operation without performing the actual copy. Preview mode is
not enabled by default.
-v
Requests verbose mode. This option affects only standard output and not the log files.
-s source
Specifies the depot (source) containing the software to be copied.
-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_selections
The absolute path name (directory location) to which you want the
s/w_selections to be copied. If you specify a host with the directory, the
syntax is host:/directory where the host name can be a name, domain name,
or internet address.
The following options have the most relevance to patching. Where appropriate, default values
are shown. For the full set of available options, consult the swcopy(1m) man page or refer to the
Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (Sept 2011)”.
Options
option=default value
Menu Path in Interactive Interface
Description
autoselect_dependencies=true
ActionsMark for Install (when marking software)
When software is selected for copying with a registered dependency on other software, other software will
automatically be selected to be copied if present in the source depot and autoselect_dependencies is
set to true.
autoselect_reference_bundles=true
None (default cannot be changed within GUI)
When set to true, any bundle wrappers within the source depot that contain software selected for installation will
be automatically selected if the is_reference attribute is set to true. Note that this does not mean all of the
software listed in the wrapper will be selected, only the bundle wrapper itself.