|
|
Another way to create a package image that can be installed or distributed to other hosts is by use of the pkgtrans(1) command.
host:[device] or [host]:device
where:
If the source directory is a directory containing package(s), then you must specify the package option. If the source device is a package datastream, then you do not need to specify the package option. If the package option is omitted, you are prompted for which set(s) or package(s) you want to copy from that data stream.
This feature works the same as in pkgtrans(1), which is the underlying mechanism used by pkgcopy for copying software.
Copy the terminf package from the /var/spool/dist
directory on the myhost system to the /var/spool/dist directory
on the local host:
pkgcopy -s myhost:/var/spool/dist