Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)

software_selections from the software defined in the
given (or default) target_selection.
The product specification file (PSF) for swmodify uses the
same swpackage PSF format as defined in “Creating a
Product Specification File (PSF) ” (page 173).
-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 77).
-X option_file Read session options and behaviors from option_file.
See “Changing Command Options ” (page 77).
software_selections The software objects for which information will be modified.
See “Software Selections” (page 35).
target_selection A single, local target_selection. (See Target
Selections” (page 37).) If you are operating on the primary
root, you do not need to specify a target_selection
because the target / is assumed.
When operating on a software depot, the
target_selection specifies the path to that depot. If the
-d option is specified and no target_selection is
specified, then the default depot_directory is assumed.
NOTE: In general, use caution when using the -u option with the -a option. If -u is used and
-a is also specified, the -a option deletes the attribute from the given software_selections
(or deletes the value from the set of values currently defined for the attribute).
Changing Command Options
You can change the behavior of this command by specifying additional command-line options
when you invoke the command (using the -xoption) or by reading predefined values from a file.
The following table shows the defaults and options that apply to swmodify.
Table 17 swmodify Command Options and Default Values
logfile=/var/adm/sw/swmodify.log
loglevel=1
lookupcache_timeout_minutes=10
patch_commit=false
run_as_superuser=true
software=
source_file=
target_directory=
targets=
verbose=1
admin_directory=/var/adm/sw
allow_large_files=false
compress_index=false
control_files=
distribution_target_directory=/var/spool/sw
files=
installed_software_catalog=products
layout_version=1.0
log_msgid=0
logdetail=false
Unsupported Tasks
Removing a category from the IPD listed in swlist -l category using swmodify command is
not supported.
3.2 Modifying the IPD (swmodify) 77