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

HP-UX Handbook Rev 13.00 Page 23 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
Add additional files to an existing fileset:
swmodify -xfiles='/tmp/a /tmp/b /tmp/c' PRODUCT.FILESET
Replace the definitions of existing files in an existing fileset (for example, to update current
values for the
files’ attributes):
chown root /tmp/a /tmp/b
swmodify -x files='/tmp/a /tmp/b' PRODUCT.FILESET
Delete control files from a fileset in an existing depot:
swmodify -d -u -x control_files='checkinstall subscript' \
PRODUCT.FILESET @ /var/spool/sw
Create a new fileset definition where the description is contained in the PSF file
new_fileset_definition:
swmodify -s new_fileset_definition
Delete an obsolete fileset definition:
swmodify -u PRODUCT.FILESET
Commit a patch (remove files saved for patch rollback):
swmodify -x patch_commit=true PATCH
Create some new bundle definitions for products in an existing depot:
swmodify -d -s new_bundle_definitions \* @ /mfg/master_depot
swpackage Command
While primarily used to create depots from source files, this command allows the transfer of
software onto a tape or into a disk depot which can then be used as a software source. Either
method can be used to transport the contents of a depot to another system for local access. The
tape can be used in the absence of networking support, and the tape depot could be provided via
ftp(1).
Synopsis
swpackage [-p] [-v] [-V] [-C session_file ] [-d directory |device ] [-f software_file ]
[-s product_specification_file|directory ] [-S session_file ] [-x option=value ] [-X option_file ]