Developer's Topics
Chapter 13, Packaging your software applications

Creating a package instance

Creating a package instance

pkgmk(C) creates a new instance of a package if one already exists on the device to which it is writing. It assigns the package an instance identifier. Use the -o option of pkgmk to overwrite an existing instance of a package rather than to create a new one.


NOTE: This use of ``instance'' should not be confused with the instance identifier assigned on installation and referenced in packaging scripts with the PKGINST variable. The pkgmk command simply writes the new package to another directory name, adding characters to the end of the package abbreviation to distinguish the new package from any instances of the same package it finds already on the target media.