[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


1    Introduction

A kit is a collection of files and directories that represent one or more layered products. A kit is a standard mechanism by which layered product modifications can be delivered and maintained on a Digital UNIX system. It can be distributed on a CD-ROM, diskette, or tape for installation on the customer's system with the setld utility. Finally, a kit can be presented to the Digital UNIX system at various times -- single-user time, multi-user time, installation time, or when setting up a RIS environment.

Before building a kit, you should consider the following questions:

The answers to these questions determine the type of format you choose, the type of medium you use to distribute the kit, and the installation procedures that your users run when they install the kit on their systems.

This chapter can help you answer these questions. It describes the product types supported by the kit-building process and the options for packaging and installing the kit on the customer's system. It leads you through the steps involved in building kits for the various kinds of products, and it describes the installation options supported by the Digital UNIX system.

When you understand the kind of kit your are building, you can go to individual chapters of the book for detailed steps for building your particular kit.


[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


1.1    Product Types

The kitting process described in this book lets you deliver layered products for the Digital UNIX system. A layered product is any software product that is not part of the base operating system. Layered products can fall into the following categories:


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


1.2    Kit Formats

Prior to being copied onto the distribution media, the product files are gathered into subsets. Subsets group together related files and specify whether the group is required or optional for the installation procedure. You can choose to copy the product files onto the distribution media in one of the following formats:

User and kernel products should be produced in tar format; foreign device products must be produced in DCD format.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


1.3    Kit-Building Process

Figure 1-1 illustrates the process of creating and packaging a kit for use with the setld utility. In the figure, dashed boxes represent optional steps; for example, you do not have to create subset control programs if your kit requires no special handling when it is installed. In the figure, the commands enclosed in ellipses perform the indicated steps of the kit-building process.
.Ne 27P

Figure 1-1: The Kit Building Process

The kit-building process is divided into the following steps:

  1. Creating the directory structure containing the source files for the kit

    On the development system, you create a hierarchy of directories and files that represent the kit you want to build. The hierarchy has the following directory structure:

    This directory structure is the same for user products, kernel products, and foreign device products. Only the contents of these directories differs among the product types. For example, a foreign device kit needs additional files that are unique to this specific kit type.

  2. Creating a subset control program

    The setld utility can call a subset control program to perform installation steps specific to your kit. This program is optional for user products and kernel products. You supply it on your kit only if the product requires special installation steps. The program is required for RIS installations of foreign devices.

    Most layered products require an SCP, though the actions performed by the programs differ for each product type. For example, the SCP for a kernel kit may call the kreg utility, while the SCP for a user product would not.

  3. Building subsets and control files

    Before transferring your kit onto distribution media, you organize the product files into subsets. Subsets group together related files. For example, one subset could contain optional product files, while another subset could contain the files required to run the product.

    The kits utility creates subsets according to the specifications you define in master inventory and key files. The newinv utility can help you maintain the master inventory.

  4. Producing the distribution media

    When you have created the subsets for the product, you are ready to package the kit. At this point, you must decide whether to create the kit in DCD format or in compressed or uncompressed tar format. This is done by selecting the appropriate packaging utilities, such as gendisk or gentapes. If you are creating a kit for a foreign device product, you must also modify the kit and add files for the osfboot utility's boot-link support.

  5. Installing the kit

    After you have successfully created the kit, you can test the installation. For user products and kernel products, you install the kit by running the setld utility. For foreign device products, you use the osfboot utility's boot-link technology to install the kit during the initial installation and bootstrap of the system and to build a custom kernel. You may also want to install the kit on a RIS server so that other users can install it across a network.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Chapter] [Index] [Help]


1.4    Sample Products

This book uses the following sample products to demonstrate how to build kits for each product type supported by Digital UNIX: