gpt-pkg(8)

gpt-pkg8

Creates flavored binary packages out of an installation

Usage

gpt-pkg [options] packages

Overview

gpt-pkg Creates binary packages from an installation. The installation needs to contain GPT packaging data files. An installation is created by running gpt-build on a collection of source packages or bundles.

Files in PGM packages

Installed files such as executables that are found in pgm and ptm_static packages will overwrite one another when multiple flavors of the same package are built by gpt-build. To preserve multiple flavors of these files, gpt-build copies them into flavored subdirectories. For example, the program $GLOBUS_LOCATION/bin/foo will be copied into the location $GLOBUS_LOCATION/bin/gcc32/shared if it was built with dynamically with the gcc32 flavor. gpt-pkg retrieves these files and copies them back to their proper location before packaging them. Thus gpt-pkg will also overwrite these files as it archives the different flavors of a pgm package.

Options

-installdir

Specify the directory in which the installed files currently live. If this argument is not supplied, the value of the environment variable GLOBUS_LOCATION is used instead.

-all

Packages all of the binaries in an installation.

-native

Creates a package in the native packaging format. Currently only rpm is supported.

-rpmprefix=<path_to_installation>

This should be set to the path to your GLOBUS_LOCATION. GPT will use a value of "/usr/grid" if this option is not specified.

-rpmlicense=<label>

Provides an alternate copyright label for the rpms. The default is whatever GPT was configured with.

-verbose

Prints out all of the build messages.

-log=FILE

Appends all of the build messages to FILE. This option also sets -verbose.

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-version

Prints the version of GPT and exits.

pgm and pgm_static packages

gpt-build copies the files for these packages in a flavored location because different flavors of these types of packages will conflict with each other. gpt-pkg restores these files when it packages pgm and pgm_static types.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <blau.mcs.anl.gov>

From grid-packaging-tools 3.6.2-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.