Patch Management User Guide for HP-UX 11.x Systems
#
SOME_PATCH_001 rev patch description
SOME_PATCH_002 rev patch description
...
Creating a custom bundle
The following example shows how to create a custom bundle. Before you do so, for example,
perform an assessment to determine which patches to add to the periodic patch depot
/my_depots/periodic_depot/. For this example, the following patches will be added to the
periodic patch depot:
• PHCO_24587
• PHCO_25130
• PHCO_28175
• PHCO_28830
Next, download the patches and create a temporary depot (/my_depots/temporary_depot/)
containing the patches. Finally, perform the following steps to create a custom bundle containing
these patches, and copy the bundle to a periodic patch depot. The name of the new bundle is
PATCH_ASSESSMENT_05042005. Note that 05042005 represents the date on which the patch
assessment was performed.
1. List the patches in the temporary depot /my_depots/temporary_depot/, which contains
the patches identified by the patch assessment.
For example:
$ swlist -d @ /my_depots/temporary_depot/
# Initializing...
# Contacting target "my_system"...
# Target: my_system:/my_depots/temporary_depot/
#
# No Bundle(s) on my_system:/my_depots/temporary_depot/
# Product(s):
#
PHCO_24587 1.0 psrset(1M) man page patch
PHCO_25130 1.0 vPar manpage cumulative patch
PHCO_28175 1.0 vPar commands man pages patch
PHCO_28830 1.0 security(4) man page cumulative patch
2. Create a bundle containing these four patches. The following command creates a bundle in
the temporary depot named PATCH_ASSESSMENT_05042005 with a title of “May 04,
2005: HP-UX 11.11 Patch Assessment Patches” and a revision of 1.0.
$ make_bundles -B \
-n PATCH_ASSESSMENT_05042005 \
-t "May 04, 2005: HP-UX 11.11 Patch Assessment Patches" \
-r 1.0 \
/my_depots/temporary_depot/
3. List the contents of the temporary depot. Note the presence of the newly created bundle.
$ swlist -d @ /my_depots/temporary_depot/
# Initializing...
# Contacting target "my_system"...
# Target: my_system:/my_depots/temporary_depot/
#
# Bundle(s):
#
PATCH_ASSESSMENT_05042005 1.0 May 04, 2005:
HP-UX 11.11 Patch Assessment Patches
82 Using software depots for patch management