Solaris 10 10/08 Installation Guide: Solaris Flash Archives (Creation and Installation)

Customizing an Archive With Scripts

After the software is installed on the master system, special scripts can be run during creation, installation, postinstallation and first reboot. These scripts enable you to do the following:

Guidelines for Creating a Custom Script

When creating scripts other than the reboot script, following these guidelines to assure the script does not corrupt the OS or otherwise disrupt the system. These guidelines enable the use of Solaris Live Upgrade, which creates a new boot environment for installation of the OS. The new boot environment can be installed with an archive while the current system is running.

Note –

These guidelines are not for reboot scripts that are allowed to run daemons or make other types of modification to the root (/) file system.

For an overview of Solaris Live Upgrade, see Chapter 2, Solaris Live Upgrade (Overview), in Solaris 10 10/08 Installation Guide: Solaris Live Upgrade and Upgrade Planning.