Previous Topic: pifproto - Create a Prototype File for a PIF ProductNext Topic: pifself - Generate a Self-Installing PIF Product


pifmk - Generate a PIF Product

The pifmk command generates a PIF product using the prototype file created by the pifproto command. Sufficient disk space is required for the PIF product generation; the minimum size is the size of the product to be created. By default, the pifmk command creates the PIF product files in a compressed format in the current working directory of pifmk. The name of the PIF product is prodname.platform.@pif. You can specify another destination directory where the PIF product should be stored.

Note: Compressed PIF products are not backward compatible, that is, they cannot be installed with the Installer of previous PIF SDK for Linux and UNIX versions (see table Installer Compatibility Considerations).

This command has the following format:

Pifmk -v 
-v

Prints the version of pifmk.

Or

pifmk  ­f  PIFprototypefile [­d proddir] [­a platform] 
	[­v version] [­B buildID] [­o] [­s] [-t tracefile] 
	[-c] [-e] [-A platform] [-c] [-V (40|42|43)]
-f PIFprototypefile

Specifies the name of the prototype file created by the pifproto command.

-d proddir

Specifies the name of the destination directory, where the item is stored. The current working directory must be outside of the specified proddir.

-a platform

Specifies the name of the operating system platform of the target computer where the PIF product shall be installed.

-v version

Specifies the version of the PIF product to create.

-B buildID

Specifies the build, where buildID can consist of a maximum of 1024 alphanumeric characters, but must not contain any control characters like carriage return (CR) and line feed (LF).

-o

Specifies overwrite. If an item with the same name already exists in the destination directory, it is overwritten.

-s

Specifies strip. Symbols are discarded from the binary files.

-t tracefile

Traces the command execution in the specified trace file.

-c check only

Checks the package integrity without checking the file existence.

-e write an empty package

Writes the package without including any file.

-A <platform>

Specifies a new platform. This overwrites the default platform from the PIF prototype file.

-C separate

Separates PIF and self installer.

-V 40|42|43

Creates a package that is compatible to the PIF-SDK version 4.7

Exit status:

Displays the status of the command execution. The value zero (0) means OK, any non-zero value indicates Error.

Example: Create a PIF product from a prototype file

The following command creates a PIF product using the prototype file test-pif.AIX.@prm. A build ID "Final build" is specified. The PIF product is stored as test-pif.AIX.@pif.

pifmk -f test-pif.AIX.@prm -B "Final build"