Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pkgmk(ADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pkgparam(ADM)

pkgtrans(ADM)

pkgproto(F)


 pkgmk(ADM)                      19 June 1992                      pkgmk(ADM)


 Name

    pkgmk - produce an installable package

 Syntax

    pkgmk [ -o ] [ -d device ] [ -r rootpath ] [ -b basedir ] [ -l limit ]
    [ -a arch ] [ -v version ] [ -p pstamp ] [ -f prototype ]
    [ variable=value ... ] [ pkginst ]

 Description

    pkgmk produces an installable package to be used as input to the pkgadd
    command.  The package contents will be in directory structure format.

    The command uses the package prototype file as input and creates a pkgmap
    file.  The contents for each entry in the prototype file are 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.

    -o             Overwrites the same instance:  package instance will be
                   overwritten if it already exists.

    -d device      Creates the package on device.  device can be a full path-
                   name to a directory or the identifiers for a floppy disk
                   or removable disk (for example, /dev/fd096ds15).  The
                   default device is the installation spool directory.

    -r rootpath    Ignores destination paths in the prototype file.  Instead,
                   uses the indicated rootpath with the source pathname
                   appended to locate objects on the source machine.

    -b basedir     Prepends the indicated basedir to locate relocatable
                   objects on the source machine.

    -l limit       Specifies the maximum size in 512 byte blocks of the out-
                   put 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.  Useful in conjunction with
                   pkgtrans to create package with datastream format.

    -a arch        Overrides architecture information provided in the pkginfo
                   file with arch.

    -v version     Overrides version information provided in the pkginfo file
                   with version.

    -p pstamp      Overrides the production stamp definition in the pkginfo
                   file with pstamp.

    -f prototype   Uses the file prototype as input to the command.  The
                   default name for this file is either Prototype or proto-
                   type.

    variable=value Places the indicated variable in the packaging environ-
                   ment.  (See prototype(F) for definitions of packaging
                   variables.)

    pkginst        Specifies the package by its instance.  pkgmk will auto-
                   matically create a new instance if the version and/or
                   architecture is different.  A user should specify only a
                   package abbreviation; a particular instance should not be
                   specified unless the user is overwriting it.

 Notes

    Architecture information is provided on the command line with the -a
    option or in the prototype file.  If no architecture information is sup-
    plied at all, the output of uname -m will be used.

    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 overide the
    prototype definitions.

 See also

    pkgparam(ADM), pkgtrans(ADM), pkgproto(F)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026