Software Distributor Administration Guide for HP-UX 11i
Creating Software Packages
Packaging Tasks and Examples
Chapter 10 365
Verifying the Software Package
If swpackage created a depot rather than storing the package in an
existing registered depot, you must register the depot with the swreg
command. (See “Registering Depots Created by swpackage” on
page 356.)
After the depot is registered, you can verify it with the swverify
command. For example, to verify the integrity of the product Pascal in
the local default depot:
swverify -d Pascal
For more information about verifying depots, see “Verifying a Depot
(swverify -d)” on page 161.
You can also test the package by installing it on a system. For example,
to install the package named Pascal, located on the default depot
/var/spool/sw in the host svrhost, onto the primary root of a host
named myhost:
swinstall -s svrhost Pascal @ myhost
(This example does not specify the depot location because it is assumed
that the software is located in the default /var/spool/sw on svrhost.)
For more information about verifying installed software, see “Verifying
Your Installation (swverify)” on page 89
Packaging Patch Software
A number of software attributes are available to all software levels
(bundles, products, subproducts, and filesets) that permit packaging of
patch software. For complete information on patch attributes and a
sample PSF, see Chapter 5, “Managing Patches,” on page 163.