Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pkgparam(1M)

pkgproto(1M)

pkgtrans(1M)



pkgmk(1M)           RISC/os Reference Manual            pkgmk(1M)



NAME
     pkgmk - produce an installable package

SYNOPSIS
     pkgmk  [-o] [-d device] [-r rootpath] [-b basdir] [-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(1M) command.  The package produced is in direc-
     tory 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 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 pro-
     totype file.  Options to pkgmk include:

     -o             Overwrites the same instance if package
                    instance already exists

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

     -r             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             Prepends the indicated basedir to locate
                    relocatable objects on the source machine.

     -l             Specifies the maximum size in 512 byte blocks
                    of the output device as limit.  By default,
                    if the output file is a directory or a mount-
                    able device, pkgmk will employ the df(1) com-
                    mand to dynamically calculate the amount of
                    available space on the output device.  Useful
                    in conjunction with pkgtrans(1M) to create
                    package with datastream format.

     -a             Overrides the architecture information pro-
                    vided in the pkginfo file with arch

     -v             Overrides version information provided in the



                        Printed 11/19/92                   Page 1





pkgmk(1M)           RISC/os Reference Manual            pkgmk(1M)



                    pkginfo file with version

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

     -f             Uses the file prototype as input to the com-
                    mand.  The default prototype filename is
                    [Pp]rototype.

     variable=value Places the indicated variable in the packag-
                    ing environment

     pkginst        Specifies the package by its instance.  An
                    instance can be the package abbreviation or a
                    specific instance (for example, inst.1)

NOTES
     Architecture information is provided on the command line
     with the -a option or in the prototype file.  If no archi-
     tecture information is supplied 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 informa-
     tion is supplied, a default based on the current date will
     be provided.

     Command line definitions for both architecture and version
     override the prototype definitions.

SEE ALSO
     pkgparam(1M), pkgproto(1M), pkgtrans(1M).























 Page 2                 Printed 11/19/92



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