|
|||
1. Introduction to the Distribution Constructor What is the Distribution Constructor? 2. Setup for the Distribution Constructor |
How does the Distribution Constructor Work?The distribution constructor tool uses the following components:
Components of the Distribution ConstructorThe following section describes each of the components of the distribution constructor application more fully. ManifestsXML manifest files contain specifications for the contents and parameters of the ISO images that you create using the distribution constructor. The distribution constructor contains default manifests that can be used to create a custom Slim CD, an x86 AI ISO image, or a SPARC AI ISO image. Manifests specify parameters such as the following:
All the fields in each manifest file provide preset, default values that will create the type of ISO image you need. Optionally, you can manually edit these preset fields in a manifest file to further customize the resulting image. For instructions about editing manifest files, see Editing the Manifest Files. Finalizer ScriptsA manifest file points to scripts that are used to customize the new image. These finalizer scripts transform the generic image into a media-specific distribution. The default scripts that are provided in the application packages generate ISO images for either an x86 Slim CD, an x86 AI ISO image, or a SPARC AI ISO image. Start with the default scripts, and with caution, add your own scripts to supplement. Edit the manifest file to point to any new scripts. Note - While custom scripts are needed to create your own custom image, support for scripts is limited to the unmodified scripts that are supplied with the application packages. If you choose to customize these scripts, backup the original scripts first. For further information about these scripts and how to customize them, see Using the Finalizer Scripts. distro_const UtilityAfter setting up the manifest and, optionally, customizing the finalizer scripts, you build an image by using the distro_const utility from the command line. For further information, see Creating an Image. See also the distro_const(1M) man page. Checkpointing OptionsThe distribution constructor provides the ability to pause, or “checkpoint,” and resume at certain stages of the image-generation process. This checkpointing feature supports the process of developing and debugging images. You can start building an image, pause at any stage where you want to stop and examine the contents of the image, then resume building the image. Checkpointing is optional. Note - A checkpoint in the build process is created after each finalizer script is executed. So, new checkpoint references are added when you add new finalizer scripts. You use this feature by taking advantage of the checkpointing options that are available in the distro_const command. Run the command to check which checkpoints are available, then build your image with any checkpoint options that you choose. For instructions, see Using Checkpointing to Create an Image. See also the distro_const(1M) man page. |
||
|