HP-UX 11i June 2004 Release Notes
Installation
Software Distributor
Chapter 8
191
The 11i autoselect_patches option (TRUE by default) automatically selects patches to
match software selected for installation. It lets you install patches at the same time you
install base software. In addition to the base software selected by the match_target
option, the autoselect_patches option provides the means for selecting appropriate
patches during the update process.
Patch Filtering
With 11i, you can more interactively manage your patch process via Patch Filtering. By
using the category_tag and patch_filter options plus various version qualifiers, you
can select patches based on pre-defined criteria.
Category Tag Information
With 11i, SD-UX category tags are used to identify types of patches. These category tags
can be used to select various patches for installation. The category tags include the
following:
general_release
critical
hardware_enablement
defect_repair
corruption
enhancement
memory_leak
panic
halts_system
By specifying the category (c) tag in the SD-UX version specification, you can select all
patches that contain that specific category tag. For example, using the SD-UX command
line interface, you can select all patches in the depot that correspond to currently
installed software (and that contain the category tag “critical”) by entering the
following:
swinstall -x autoreboot=true -x patch_match_target=true \
-x patch_filter=”*.*,c=critical” -s d
epot_name
By using the pipe (|) function, you can combine category tags. For example, to install
patches that are either critical OR hardware_enablement, enter the following:
swinstall -x autoreboot=true -x patch_match_target=true \
-x patch_filter=”*.*,c=critical|hardware_enablement” \
-s
depot_name
To preview the patches that are selected for a particular swinstall session, the -p
(preview) option can be used. The -p option will cause SD-UX to analyze the installation,
then exit (that is, the actual installation will not be performed). Look in the
/var/adm/sw/swinstall.log file to determine which patches were selected.
To use category tags with the SD-UX Graphical User Interface, do the following:
Step 1. Under the Options menu, select Manage Patch Selection.
Step 2. Then select the box labeled “Automatically select patches for software installed on the
target.”