JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11 Express Distribution Constructor Guide     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

1.  Introduction to the Distribution Constructor

2.  Design and Build Oracle Solaris Images

System Requirements

Customize Your Image by Editing the Manifests

Modifying Manifest Contents

Further Customize an Image Using Finalizer Scripts

Creating Custom Finalizer Scripts

Characteristics of Finalizer Scripts

Using the Manifest Reader

Specifying Key-Value Pairs

Building an Image

Building an Image in One Step

Building an Image in Stages

Building an Image in Stages by Using Checkpoint Options

Troubleshooting the Distribution Constructor

I Get Error Messages When I Download a Package

How to Debug Manifests With Validation Errors

Debugging Semantic Validation Errors

Checking Data

Additional Installation Information

3.  x86: Design and Build a Virtual Machine

A.  Custom Finalizer Scripts, Examples

Customize Your Image by Editing the Manifests

The distribution constructor creates images based on settings specified in XML files, called manifest files. The 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 live CD, an x86 or SPARC text installer image, an x86 or SPARC AI ISO image, or a Virtual Machine.

Manifests specify parameters such as the following:


Tip - When you use the distribution constructor to create ISO images, note the following:

The root archive for x86 images differs from the root archive for SPARC images. The whole root archive, or boot_archive, for x86 images is a UFS filesystem, compressed by using gzip. The SPARC platform does not support the compression of the whole root archive in this way. Instead, SPARC root archives use DCFS, which compresses each file individually. These individually compressed files might require specific handling in the manifest. For instructions, see the <boot_archive_contents> field in the dc_manifest(4) man page.


The default manifest files included in the distribution-constructor package are listed in the following table.

Table 2-2 Default Manifests

Manifest Type
Manifest Location
Description
x86 live CD ISO image
/usr/share/distro_const/slim_cd/
all_lang_slim_cd_x86.xml
This manifest is used to create an ISO image comparable to the Oracle Solaris live CD, also called the “slim CD.”
x86 text installer ISO image
/usr/share/distro_const/
text_install/text_mode_x86.xml
This manifest is used to create an ISO image that you can boot to initiate a text installation of the Oracle Solaris OS on x86 machines.
SPARC text installer ISO image
/usr/share/distro_const/
text_install/text_mode_sparc.xml
This manifest is used to create an ISO image that you can boot to initiate a text installation of the Oracle Solaris OS on SPARC machines.
SPARC AI ISO image
/usr/share/distro_const/
auto_install/ai_sparc_image.xml
This manifest is used to create a SPARC AI ISO image for automated installations of the Oracle Solaris OS to SPARC clients.
x86 AI ISO image
/usr/share/distro_const/
auto_install/ai_x86_image.xml
This manifest is used to create an x86 AI ISO image for automated installations of the Oracle Solaris OS to x86 clients.
x86 Virtual Machine
/usr/share/distro_const/
vmc/vmc_image.xml
This manifest is used to create a Virtual Machine image. For instructions, see Chapter 3, x86: Design and Build a Virtual Machine.

Modifying Manifest Contents

All the fields in each manifest file provide preset, default values that will create the type of ISO image that you need, as well as, for x86 systems, USB images. You have the option to manually edit these preset fields in a manifest file to further customize the resulting image.

If you want to modify the manifest information, use the following process:

  1. Copy one of the default manifests and create a custom manifest file with a new file name.

    You will reference the manifest file by name when you use the distro_const command to create an image.


    Note - Always back up the original manifest file and the default scripts before copying them.


  2. Edit the manifest fields to suit your needs. See the dc_manifest(4) man page for instructions.

  3. If the default finalizer scripts do not leave the build_area as you need it, you can create your own scripts to make further modifications. If you do create new scripts, update the script references in the finalizer section of the manifest file.

    For instructions about editing the finalizer script section in the manifest file, see the dc_manifest(4) man page.

    For instructions about creating new scripts, see Further Customize an Image Using Finalizer Scripts.

  4. When you have completed any revisions to the manifest file and, optionally, customized the finalizer scripts as described in the next section, you can proceed with running the distro_const utility to create an image. For instructions, see Building an Image.