Software Distributor Administrator Guide (September 2010)
3.2.3.2 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.
To change the values of a fileset’s attributes:
# swmodify -a state=installed PRODUCT.FILESET
To change the attributes of a depot:
# swmodify -a title=Master Depot \
-a description=/tmp/mfg.description \
@ /mfg/master_depot
3.2.3.3 Defining New Objects
You can import an existing application (not installed by SD-UX) by constructing a
simple Product Specification File (PSF) describing the product and then invoke
swmodify to load that definition into the IPD.
To create a new fileset definition (if the PSF contains file definitions, then add those
files to the new fileset):
swmodify -s new_fileset_definition
3.3 Removing Installed Software (swremove)
The swremove command removes software that has been installed on a host. Before
its removal, the software is first unconfigured. swremove also removes software
products that have been copied to a software depot.
3.3.1 swremove Features and Limitations
• Removes files from the specified location. It removes symbolic links, but not the
targets of symbolic links. It also lists busy files that were not removed.
• Automatic use of dependencies to automatically select software on which to operate
(in addition to any software you specify directly).
• Ability to run control scripts as part of the removal:
Unconfigure Undoes host configuration performed by configure scripts.
Checkremove Analyzes each target to determine if removal and
unconfiguration can take place. If this check fails, an object
cannot be removed.
Preremove Performs additional file operations, such as removing files
created by a preinstall script.
3.3 Removing Installed Software (swremove) 103