Software Distributor Administration Guide for HP-UX 11i

Managing Software Depots
Additional Depot Management Tasks and Examples
Chapter 4 155
Additional Depot Management Tasks and
Examples
This section illustrates some typical depot management tasks and
provides extended examples of how you can use SD-UX to manage your
environment.
Combining Patch Depots
This example shows how to combine into a single depot five downloaded
patches (which are tape depots) from HP. The example also shows how to
register the depot, list the depot contents, and install the patches from
the new depot using the patch_match_target option. The example
assumes that you have already downloaded patches PHKL_20349,
PHKL_22161, PHSS_21906, PHSS_21950, and PHCO_22923 from the
HP ITRC (http://itrc.hp.com/):
swcopy -s /tmp/PHKL_20349.depot \* @ /depots/mypatches
swcopy -s /tmp/PHKL_22161.depot \* @ /depots/mypatches
swcopy -s /tmp/PHSS_21906.depot \* @ /depots/mypatches
swcopy -s /tmp/PHSS_21950.depot \* @ /depots/mypatches
swcopy -s /tmp/PHCO_22923.depot \* @ /depots/mypatches
swreg -l depot @ /depots/mypatches
swlist -d -s /depots/mypatches
swinstall -x patch_match_target=true -s /depots/mypatches