Software Distributor Administration Guide for HP-UX 11i

Creating Software Packages
Creating a Product Specification File (PSF)
Chapter 10 337
File Specification Within a fileset specification, you can specify the
following file types to be packaged into the fileset by swpackage:
control script
•directory
hard link
•regular file
symbolic link
•archive
swpackage generates an error if the PSF contains an unrecognized or
unpackageable file type.
The swpackage command supports specific mechanisms for specifying
the files contained in a fileset:
default permission specification For all or some of the files in the
fileset, you can define a default set of permissions.
directory mapping You can point swpackage at a source directory in
which the fileset’s files are located. In addition, you can
map this source directory to the appropriate
(destination) directory in which this subset of the
product’s files will be located.
explicit file specification For all or some of the files in the fileset, you
can name each source file and destination location.
recursive (implicit) file specification If directory mapping is active,
you can simply tell swpackage to recursively include all
files in the directory into the fileset.
PSF extensions You can use include and exclude files to extend file
definitions.
These mechanisms can all be used in combination with the others.