Setting up the CDMT environment
To set up the CDMT environment:
-
Create the ``working'' directory for CDMT
from which to read input and generate output.
This should be any writable directory
where you want the installable distribution to exist.
For example, /build.
-
Set the CDMT_DIR environment variable to the working directory.
For Bourne or Korn shells (sh or ksh), enter:
CDMT_DIR=/build;export CDMT_DIR
-
Create the $CDMT_DIR/cdmt.config file (optional).
The CDMT commands automatically read
$CDMT_DIR/cdmt.config, if it exists.
Use this file to modify the default CDMT configuration.
For example, you can specify the archive media and configuration
for the final output.
See
cdmt.config(CDMT)
for information on the format of this file.
By default, the CDMT tools use the directory specified by CDMT_DIR:
-
CDMT tools read the CDMT input files
in $CDMT_DIR/input.
See
cdmtInput(CDMT).
-
cdmtParse(CDMT)
creates the $CDMT_DIR/sso directory.
-
cdmtCompress(CDMT)
populates the $CDMT_DIR/sso
directory with SSOs to be archived.
-
cdmtArchive(CDMT)
uses the SSOs in $CDMT_DIR/sso
to generate and populate the $CDMT_DIR/archives directory
with archives that are custom-installable
with the media type you specified.
Now,
create the CDMT input files.
Next topic:
Creating CDMT input files
Previous topic:
Setting up the distribution tree
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003