View Source

h1. Setting up to use the Distribution Constructor

The DC is supported on Open Solaris 2008.11.  Solaris Neveda can also be used, but it is not supported.

h2. Set Up Needed for Open Solaris

* Open Solaris 2008.11
* The SUNWdistro-const package, installed from an IPS repo. For example: [http://pkg.opensolaris.org]

h2. Set Up Needed for Solaris Nevada

* Solaris Nevada build 99 or newer
* The SUNWipkg, SUNWpython-cherrypy, and SUNWpython-pyopenssl package from the IPS gate
* The SUNWinstall-libs, SUNWinstall, and SUNWdistro-const package, built from the slim_source gate.

h2. Disk space requirements

* At least 8 gigabyte should be allocated for the "build area" for each image to be generated.

h1. The Build Area

The build area is where all the work is done. The Distribution Constructor creates the following structures in the build area.
|| *Directory* || *Explanation* ||
| <build_area>/build_data/pkg_image | This is the package image area. |
| <build_area>/build_data/bootroot | The bootroot build area. This is where the bootroot is constructed, the content of this directory will be archived into the bootroot that gets put into the image. |
| <build_area>/build_data/tmp | The temp dir that is used by the the DC app as well as finalizer scripts. |
| <build_area>/media | The output images. |
| <build_area>/logs | The log files for the build. There are 2 log files for each run of the Distro constructor. The simple log file shows which steps are executed, and whether the build is successful. The detailed log file contains output from running all commands, as well as the data reported in the simple log.|

h1. File Locations

The Distribution Constructor package (SUNWdistro-const) installs its files in the following directories.
| The Distribution Constructor application | /usr/bin/distro-const |
| For generating and copying USB images | /usr/bin/usbcopy\\
/usr/bin/usbgen |
| For generating the ISO sort file | /usr/bin/proc_tracedata\\
/usr/bin/proc_slist |
| Python library modules used by the DC | /usr/lib/python2.4/vendor-packages/osol_install/distro_const |
| Configuration, data, and utilities used by the DC application | /usr/share/distro_const |
| Configuration, data, and utilities used by the Slim CD only | /usr/share/distro_const/slim_cd |
| Configuration, data, and utilities used by the Auto Installer project | /usr/share/distro_const/auto_install |
| Documentations for the Distribution Constructor | /usr/share/doc/distro_const |
| Man page for the Distribution Constructor | /usr/share/man/ |

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact