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

11. Creating a package with pkgmk

pkgmk(C) takes all of the objects on your machine (as defined in the prototype(F) file), puts them in the fixed directory format and copies everything to the installation medium.

To package your software, execute:

   pkgmk [-d device] [-f filename]
You must use the -d option to name the device onto which the package should be placed. device can be a directory pathname or the identifier for a disk. The default device is the installation spool directory.

pkgmk looks for a file named prototype. You can use the -f option to specify a package contents file named something other than prototype. This file must be in the prototype format.

For example, executing pkgmk -d diskette1 creates a package based on a file named prototype in your current directory. The package is formatted and copied to the diskette in the device diskette1.


Next topic: Package file compression
Previous topic: 10. Distributing packages over multiple volumes

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