Software Distributor Administration Guide (March 2009)

Table Of Contents
Table 10-4 swpackage Process Phases
swpackage reads the PSF
I. Selection
swpackage analyzes the packaging tasks and requirements before actually
packaging the software to the target depot or tape. swpackage compares the
software to be packaged against the target depot to make sure the packaging
operation will be successful.
II. Analysis
swpackage packages the source files and information into a product object, and
inserts the product into the distribution depot. swpackage creates the depot but
does not register it. You must have appropriate SD-UX permission to create this
new depot on the local host.
If the target (destination) is a tape media, a temporary depot is created.
III. Build
(Optional) This phase occurs only if you are packaging to a distribution tape.
swpackage copies the source files and a temporary depot catalog to the tape.
(Note that swpackage cannot compress files when writing to a tape.)
IV. Make Tape
Figure 10-1: “An Overview of the Packaging Process”, shows an overview of the
swpackage session.
Figure 10-1 An Overview of the Packaging Process
Control
Scripts
Selection
Analysis
Package
Make Tape
Source Files
Target
Depot
Check syntax
Construct PSF objects
Make selections
Check dependencies
Check security
Check disk space
Copy source files
Write catalog
Check tape size
Copy catalog
Copy contents (files)
CD-ROM
PSF
250 Creating Software Packages