DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

Creating a datastream package

Creating a datastream package requires two steps:

  1. Create a package using pkgmk(C).

    Use the default device (the installation spool directory) or name a directory into which the package should be placed. pkgmk(C) creates a package in a fixed directory format. Specify the capacity of the device where the datastream will be placed as an argument to the -l option.

  2. After the software is formatted in fixed directory format and is residing in a spool directory, execute pkgtrans(C).

    This command translates the fixed directory format to the datastream format and places the datastream on the specified medium.

For example, the two steps shown below create a datastream package:

  1. pkgmk -d spooldir -l 1400

    This formats a package into a fixed directory structure and places it in a directory named spooldir. Each part of the package requires no more than 1400 blocks.

  2. pkgtrans -s spooldir 9track package1

    This translates the fixed directory format of package1 residing in the directory spooldir into a datastream format, and places the datastream package on the medium in a device named 9track.

    OR

  3. pkgtrans -s spooldir diskette package1

    This is similar to number 2 above, except that it places the datastream package on the medium in a device named diskette. pkgtrans(C) prompts for additional volumes if the package requires more than one diskette.


Next topic: Translating a package instance
Previous topic: 12. Creating a package with pkgtrans

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003