Packaging SVR5 X drivers for installation

Packaging SVR5 X drivers for installation

Before reading this description about how to package a driver for SVR5, you should already be familiar with driver packaging as discussed in ``Packaging and installing SVR5 drivers''. If you are porting drivers from SCO OpenServer 5, see also ``Software packaging''.

To package your new X driver for installation on SVR5, complete the following steps.

NOTE: For the purposes of this procedure, we assume that you are using /usr/xlink as the root of the X Link Kit filesystem. You may use any name you wish for this directory, but you must remember to substitute the name you choose for /usr/xlink when completing these steps.

  1. Change directories to your driver directory using a command similar to the following:

    cd /usr/xlink/Xserver/hw/sco/ports/your_driver_name

  2. Issue the following command:

    MakeProduct your_driver_name

    where your_driver_name is a 3 to 6 letter name for your driver. Do not use any name already in use by the X server.

  3. When prompted, give the product description that will appear when the customer installs the driver.

MakeProduct builds an archive image of your driver in the directory you specify. After MakeProduct completes the build, you can make a custom installable floppy by completing the following steps:

  1. Put a freshly formatted floppy in the floppy drive.

  2. Enter the following:

    cd /usr/xlink/Xserver/hw/sco/ports/your_driver_name)

    MakeFloppy creates a floppy that can install your driver on any SVR5 system.

You can also use MakeProduct to create the distribution only (MakeProduct -m) or to remake a cut (MakeProduct -c).
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005