Installation, configuration, and packaging
Drivers should adhere to the following practices
for installation, configuraion, and packaging:
-
Drivers for SVR5 should use installation scripts
written to use pkgadd.
-
Drivers written for SCO OpenServer 5 Release 5
and SCO OpenServer Release 5.0.4 should use installation scripts
written to use CDMT.
Drivers written for SCO OpenServer Release 5.0.5 can use
CDMT or pkgadd.
-
Installation scripts should print messages to the screen
only on failure.
Any information written to stdout or stderr
halts the software installation with the
Press <Return>
message.
-
When installing a SVR5 or SCO OpenServer 5 driver under the IQM
(Installation Query Manager),
you can send all output to a shell function
that checks to see if the
LOGFILE environmental variable is defined.
If LOGFILE is defined,
all informational messages that need to be logged
can sent to that file.
To check whether the script is running under IQM,
check the value of the IQM_FILE environmental variable;
if it is set to a non-zero value,
the script is running under IQM.
-
Autoconfigurable DDI drivers
must use the major numbers that are assigned by
idinstall
from the information provided in the driver's
Master(DSP/4dsp)
file.
Drivers must not modify their major numbers,
resulting device numbers,
or any other portion of the resource manager database entry
after they are installed.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005