Software Distributor Administration Guide for HP-UX 11i

Managing Installed Software
Modifying the IPD (swmodify)
Chapter 3120
Changing
Command Options
You can change the behavior of this command by specifying additional
command-line options when you invoke the command (using the -x
option) or by reading predefined values from a file. The following table
shows the defaults and options that apply to swmodify.
For More
Information
See Appendix A, “Command Options,” on page 421 for complete
descriptions of each default.
swmodify Tasks and Examples
Here are some examples of how you can use swmodify to change catalog
files or IPDs:
Adding Information to the IPD
To add descriptions of files /tmp/a, /tmp/b, and /tmp/c to an existing
fileset:
swmodify -x files=/tmp/a /tmp/b /tmp/c PRODUCT.FILESET
If a control script adds new files to the installed file system, the script
can use swmodify to make a record of the new files.
Changing Existing IPD Information
To create some new bundle definitions for products in an existing depot:
swmodify -d -s new_bundle_definitions \
\* @ /mfg/master_depot
If a product provides a more complex configuration process, a script can
set the fileset’s state to configured upon successful completion.
Table 3-7 swmodify Command Options and Default Values
admin_directory=/var/adm/sw
compress_index=false
control_files=
distribution_target_directory=/var/spo
ol/sw
files=
installed_software_catalog=products
layout_version=1.0
log_msgid=0
logdetail=false
•logfile=
/var/adm/sw/swmodify.
log
•loglevel=1
patch_commit=false
run_as_superuser=true
•software=
source_file=
•targets=
•verbose=1