Software Distributor Administration Guide for HP-UX 11i

Creating Software Packages
Packaging Tasks and Examples
Chapter 10362
To get rid of the obsolete (renamed) filesets, use swremove:
swremove -d
product.old_fileset
@
depot
You may want to swremove the product entirely before
repackaging the changes:
swremove -d
product
@
depot
swpackage -s
psf
<other options>
product
@
depot
Packaging In Place
If you set the package_in_place option to true, swpackage packages
each of the specified products such that the source files are not copied
into the target depot. Instead, swpackage inserts references to the source
files that make up the contents of each fileset. Control scripts are always
copied.
This feature lets you package products in a development or test
environment without consuming the full disk space of copying all the
source files into the target depot. Disk space analysis is skipped when
the package_in_place option is true.
The source files must remain in existence. If some are deleted, any
operations that use the depot as a source (for example, installing the
product with swinstall) will fail when they try to access the missing
source files.
If a source file changes and the product is not repackaged, the
information that describes the source file will be incorrect (for example,
the file checksum). This incorrect information will not prevent the use of
that target depot as a source (for example, installing with swinstall).
However, the incorrect information will be propagated along each time
the product is copied or installed from the depot. The result is that a
swverify operation on the installed product always flags the
inconsistencies with an error unless you disable the check of file
contents.