Developer's Topics
Chapter 12, Custom Distribution Mastering Toolkit

Setting up the CDMT environment

Setting up the CDMT environment

To set up the CDMT environment: 

  1. 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.

  2. 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

  3. 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:

Now, create the CDMT input files.