UDI drivers are packaged for installation using the udimkpkg(1) command,
Once packaged, the driver is installed and configured into the UDI environment using udisetup(1M). Additional commands on the target system may also be required after udisetup(1M) to complete the configuration. (such as modadmin(1M), dcu(1M), or idbuild(1M) on UnixWare 7).
The resulting driver package directory hierarchy can be further packaged for distribution using the native packaging tools on the target system. The installation of such a driver package then becomes a two-step process: installing the native package using the native packaging tools (for UnixWare 7, pkgadd(1M)), and then installing and configuring the driver into the kernel using udisetup(1M) (and other necessary commands).
The running of such configuration commands as well as udisetup could be done from an installation script in the native package to automate installation of a driver. For UnixWare 7, these commands might appear in the postinstall, preremove, or postremove scripts.
When testing a new driver, you will usually omit the native packaging step, and configure the driver into the kernel manually.
See ``Packaging your software applications'' for a description of the UnixWare 7 packaging tools, and UDI Overview and Configuration. for a description of how to use udisetup(1M).
See UNRESOLVED XREF-0 to see how the sample UDI drivers are installed on UnixWare 7.