Title and Copyright Information
 
About This Manual
Audience
New and Changed Features
Organization
Related Documents
Reader's Comments
Conventions
 
1    Overview of Product Kits
1.1    Product Types
1.2    Kit Formats
1.3    Kit-Building Process
1.4    Sample Products Used in This Book
 
2    Creating the Kit Directory Structure
2.1    Creating a Kit Building Directory Structure
2.2    Populating the Source Directory
2.2.1    Directory Structure for a User Product Kit
2.2.2    Directory Structure for Kernel Product and Hardware Product Kits
 
3    Creating Subset Control Programs
3.1    Common Characteristics of a Subset Control Program
3.1.1    Creating Subset Control Program Source Files
3.1.2    Including Library Routines
3.1.3    Invoking Subset Control Programs
3.1.4    Stopping the Program
3.1.5    Setting Global Variables
3.1.6    Working in a DMS Environment
3.2    SCP Tasks Associated with Installation Phases
3.2.1    Displaying the Subset Menu (M Phase)
3.2.2    Before Loading the Subset (PRE_L Phase)
3.2.3    After Loading the Subset (POST_L Phase)
3.2.3.1    Creating Backward Links
3.2.3.2    Locking Subsets
3.2.4    After Securing the Subset (C INSTALL Phase)
3.2.5    Verifying the Subset (V Phase)
3.2.6    Before Deleting a Subset (C DELETE Phase)
3.2.7    Before Deleting a Subset (PRE_D Phase)
3.2.8    After Deleting a Subset (POST_D Phase)
3.3    Subset Control File Flag Bits
3.4    Creating a Subset Control Program for a User Product
3.5    Creating a Subset Control Program for a Kernel Product
 
4    Building Subsets and Control Files
4.1    Grouping Files into Subsets
4.2    Creating the Master Inventory File
4.3    Creating the Key File
4.4    Running the kits Utility
4.4.1    Compression Flag File
4.4.2    Image Data File
4.4.3    Subset Control Files
4.4.4    Subset Inventory File
 
5    Hardware Product Kits
5.1    Additional Files Required for Hardware Product Kits
5.1.1    The name.kit Files
5.1.2    The kitname.kk File
5.1.3    The HW.db File
5.1.4    The hardware_kit.hw File
5.1.5    The hardwarename.hw File
5.2    Creating a Subset Control Program for a Hardware Product
5.3    Creating Distribution Media for a Hardware Product Kit
5.4    Testing a Hardware Product Kit
5.4.1    Using setld to Test a Hardware Product Kit
5.4.2    Testing a Hardware Product Kit on a Running System
5.4.3    Using the hw_check Utility to Test a Hardware Product Kit
5.4.4    Testing a Hardware Product Kit in a RIS Area
5.4.4.1    Registering a Client for a RIS Area Containing a Hardware Product Kit
 
6    Producing Distribution Media for User and Kernel Product Kits
6.1    Editing the /etc/kitcap File
6.1.1    Tape Media kitcap Record Format
6.1.2    Disk Media kitcap Record Format
6.2    Building a User or Kernel Product Kit on Magnetic Tape Media in tar Format
6.3    Building a User or Kernel Product Kit on Disk Media
6.3.1    Preparing a User or Kernel Product Kit in tar Format
 
7    Testing a User or Kernel Product Kit
7.1    Testing a User Product Kit
7.2    Testing a Kernel Product Kit
7.3    Testing a User or Kernel Product in a RIS Area
 
A    Creating a Consolidated CD-ROM
A.1    Build Instructions
A.1.1    How to Prepare for the Build
A.1.2    How to Build a Consolidated CD-ROM
A.2    Sample Build Session
A.2.1    Preparing for the Build Session
A.2.2    Building a Consolidated CD-ROM
 
B    Standard Directory Structure
 
Glossary
 
Examples
3-1    Subset Control Program Test for Machine During M Phase
3-2    Backward Link Creation
3-3    Using the BitTest Routine to Test Bits
3-4    Subset Control Program for the ODB User Product
3-5    Subset Control Program for the /dev/none Driver
4-1    Sample Master Inventory File for the ODB Kit
4-2    Key File for the ODB Kit
4-3    Sample Subset Control File
4-4    Sample Subset Inventory File
5-1    Contents of an Installed name.kit File
5-2    Contents of a HW.db File
5-3    Contents of a Hardware Support File
5-4    Contents of an Installed Hardware Support File
5-5    Subset Control Program for the EDGgraphics Device Driver
5-6    Sample /etc/kitcap Record for a Hardware Product Kit on CD-ROM
5-7    Sample /etc/kitcap Record for a CD-ROM with Multiple Hardware Kits
6-1    Sample /etc/kitcap Record for Magnetic Tape
6-2    Sample /etc/kitcap Record for CD-ROM or Diskette
 
Figures
1-1    Steps in the Kit-Building Process
2-1    Kit Directory Hierarchy
2-2    Layered Product Standard Directories
2-3    Directory Hierarchy for the ODB Kit
2-4    Directory Structure for the /dev/none Driver Kit
2-5    Editing the files File Fragment
2-6    Editing the sysconfigtab File Fragment
3-1    Time Line of the setld Utility
4-1    Subsets and Files in the ODB kit
4-2    Contents of the ODB output Directory
5-1    Directory Structure for a Hardware Product Kit
5-2    Using the Distribution name.kit File During Installation
5-3    Bootstrap Linking with a Hardware Product Kit
6-1    File Formats for Layered Product Kits
7-1    Defining Links and Dependencies for the ODB User Product
7-2    Statically Configuring a Driver
7-3    Dynamically Configuring a Driver
B-1    Base System Directory Structure
B-2    X Directory Structure
 
Tables
3-1    STL_ScpInit Global Variables
3-2    Elements of a Dependency Expression
4-1    Fields in the Master Inventory File
4-2    Key File Product Attributes
4-3    Key File Subset Descriptor Fields
4-4    Installation Control Files in the instctrl Directory
4-5    Image Data File Fields
4-6    Subset Inventory Field Descriptions
5-1    Format of the name.kit File
B-1    Contents and Purpose of Base System Directories
B-2    Contents and Purpose of X Directories
 
Index