Software Distributor Administrator Guide (September 2010)
A target depot is only the first step in creating a CD-ROM. If the ISO 9660 standard
format is desired, a utility to perform this conversion would be necessary. This
conversion is not supported by swpackage.
Distribution tapes are created in tar format (although SD-UX commands can also read
depots from cpio format tapes). To create the tape, swpackage first builds the products
into a temporary distribution depot. (The depot is removed when swpackage
completes.) To conserve space, all files exist as references to the real source files. After
the distribution depot is constructed, swpackage then archives it, along with the real
files, onto the tape device.
When archiving a product that contains kernel filesets onto a tape media, swpackage
puts these filesets first within the archive to provide efficient access by swinstall.
swpackage also orders filesets based on prerequisite dependency relationships.
Phase IV: Make Tape
This optional phase occurs only when you package to a distribution tape.
• In this phase, swpackage copies the source files and a temporary depot catalog
to the tape.
• swpackage does a tape space calculation to ensure that the tape can hold the
software package. If one tape cannot hold it all, then swpackage will partition
the software across multiple tapes.
• swpackage cannot compress files when writing to a tape.
10.5.1 Using swpackage
swpackage Syntax
swpackage [-p] [-v] [-V] [-C session_file]
[-d directory|device] [-f software_file]
[-s product_specification_file|directory]
[-S session_file] [-x option=value] [-X option_file]
[software_selections] [@ target_selection]
Options and Operands
-p
Previews the specified package session without actually
creating or modifying the depot or tape.
-v Turns on verbose output to stdout and lists messages
for each product, subproduct and fileset being
packaged. (The swpackage logfile in /var/adm/sw/
swpackage.log is not affected by this option.)
-V List the data model revisions which swpackage can
read. swpackage always packages using the latest
data model revision.
10.5 Packaging the Software (swpackage) 257