Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (6561 KB)
pkgmk(1)Name | Synopsis | Description | Options | Operands | Exit Status | Attributes | See Also | Notes Name
Synopsis
pkgmk [-o] [-a arch] [-b base_src_dir] [-d device]
[-f prototype] [-l limit] [-p pstamp] [-r root_path]
[-v version] [variable=value]... [pkginst]
Description
The pkgmk utility produces an installable package to be used as input to the pkgadd(1M) command. The package contents is in directory structure format. The command uses the package prototype(4) file as input and creates a pkgmap(4) file. 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. pkgmk searches for the files listed in the prototype(4) file as described in the following conditions. Note: If a prototype file contains the explicit location of the file to include in the package, then the following search explanations do not apply. If you created your prototype file using "pkgproto a/relative/path"or "pkgproto a/relative/path=install/path", you should use the -r root_path option to specify the location of a/relative/path so that pkgmk can correctly locate your source files. Package commands, including pkgmk, are largefile(5)-aware. They handle files larger than 2 GB in the same way they handle smaller files. In their current implementations, pkgadd(1M), pkgtrans(1) and other package commands can process a datastream of up to 4 GB. Options
The following options are supported: Operands
The following operand is supported: Exit StatusAttributesSee attributes(5) for descriptions of the following attributes:
See Alsopkgparam(1), pkgproto(1), pkgtrans(1), uname(1), df(1M), pkgadd(1M), pkginfo(4), pkgmap(4), prototype(4), attributes(5), largefile(5) Notes
Architecture information is provided on the command line with the -a option or in the prototype(4) file. If no architecture information is supplied, pkgmk uses the output of uname -m (see uname(1)). Version information is provided on the command line with the -v option or in the pkginfo(4) file. If no version information is supplied, a default based on the current date is provided. Command line definitions for both architecture and version override the prototype(4) definitions. pkgmk fails if one of the following invalid combinations of zone-related parameters is used: For additional information regarding these parameters, see pkginfo(4). Name | Synopsis | Description | Options | Operands | Exit Status | Attributes | See Also | Notes |
||||