Manual page for pkgmk(1)
pkgmk - produce an installable package
variable=value ... ] [ pkginst ]
produces an installable package to be used as input to the pkgadd
The package contents will be in directory structure format.
The command uses the package prototype file as input
and creates a pkgmap
The contents for each entry in the prototype file is copied to the
appropriate output location.
Information concerning the contents (checksum,
file size, modification date) is computed and stored in the pkgmap file,
along with attribute information specified in the prototype file.
Overwrite the same instance,
package instance will be overwritten if it already exists.
- -a arch
Override the architecture information provided
in the pkginfo file with
- -b basdir
Prepend the indicated basedir to locate relocatable objects on the
- -d device
Create the package on device.
device can be an absolute
directory pathname or the identifiers
for a floppy disk or removable disk
(for example, /dev/diskette).
The default device is the installation spool directory (/var/spool/pkg).
- -f prototype
Use the file prototype as input to the command.
The default prototype filename is [Pp]rototype.
- -l limit
Specify the maximum size in 512 byte blocks
of the output device as limit.
By default, if the output
file is a directory or a mountable device,
pkgmk will employ the df
command to dynamically calculate the amount of available space on the output
device. This option is useful in conjunction with pkgtrans to create
package with datastream format.
- -p pstamp
Override the production stamp definition in the pkginfo file with
- -r rootpath
Ignore destination paths in the prototype file.
Instead, use the indicated rootpath with the source
pathname appended to locate objects on the source machine.
- -v version
Override the version information provided in the pkginfo file with
Place the indicated variable in the packaging environment.
for definitions of packaging variables.)
Specifies the package by its instance.
An instance can be the package
abbreviation or a specific instance (for example, inst.1).
Architecture information is provided on the command line with
the -a option or in the prototype file.
If no architecture information is supplied,
uses the output of uname -m.
Version information is provided on the command line with the -v
option or in the prototype file.
If no version information is supplied, a default based on
the current date will be provided.
Command line definitions for both architecture and version override the
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97