Software Distributor Administrator Guide (September 2010)
10 Creating Software Packages
This chapter describes the tasks associated with packaging software for distribution.
Table 10-1 Chapter Topics
Topics:
“Overview of the Packaging Process ” (page 221)
“Identifying the Products to Package ” (page 222)
“Adding Control Scripts” (page 223)
“Creating a Product Specification File (PSF) ” (page 224)
“Packaging the Software (swpackage) ” (page 253)
“Packaging Tasks and Examples” (page 260)
10.1 Overview of the Packaging Process
To help you distribute software from depots, Software Distributor lets you package
software into SD-UX format. The packaging process lets you create depots directly or
create packages that you can add to depots later. The packaging specification is flexible
enough to fit many software build and manufacturing process needs.
The packaging process consists of the following tasks:
1. Identifying the package.
Determine what files and directories you want to include in your software package,
and determine product structure. Your software package can consist of files, filesets,
subproducts, products, and bundles.
2. Write control scripts (optional).
You can write control scripts and include them in your package. These scripts let
you perform additional checks and operations beyond those supported by SD-UX.
3. Create a Product Specification File (PSF) to define the product package.
4. Create the software package by running the swpackage command.
The swpackage command reads the PSF file, analyzes the product definitions,
and packages the source files and information into product objects. It then creates
and inserts the product into the distribution depot.
10.1 Overview of the Packaging Process 221