Creating and populating the SSO tree
Once the distribution tree and CDMT environment are ready,
use the CDMT tools to create and populate the SSO tree:
-
Run
cdmtParse(CDMT):
cdmtParse
The cdmtParse command:
-
reads the $CDMT_DIR/cdmt.config file, if it exists.
-
reads the CDMT input files in $CDMT_DIR/input
(for example, WServer.prd, WServer.cmpnt,
and WServer.pkg).
-
creates the empty SSO tree prototype (/opt hierarchy)
in the $CDMT_DIR/sso directory.
-
creates the SSO databases and places them in the
SSO tree prototype.
-
Run
cdmtCompress(CDMT):
cdmtCompress
The cdmtCompress command:
-
reads the $CDMT_DIR/cdmt.config file, if it exists.
-
populates the $CDMT_DIR/sso directory
with the component distribution files
(from the distribution tree, specified with distTreeRoot).
If specified, cdmtCompress compresses the distribution files.
To specify compression, in the cdmt.config file,
set the compress attribute in the CONFIG record
to TRUE.
See
cdmt.config(CDMT).
-
runs
sum(C)
and determines the sizes of the distributions files
and updates the SSO databases
(in $CDMT_DIR/sso) with this information.
-
runs
ssoPatch(CDMT)
on any specified files.
Now,
create the custom-installable archives.
See also:
Next topic:
Creating custom-installable SSO archives
Previous topic:
Example package description file (WServer.pkg)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003