User's Guide
2. Makes sure that _hp_os_bitness is set and set correctly (it should be set by the configuration
file that defines the core operating system depot or archive sw_sel clause).
3. Makes sure that the system can run the bitness of HP-UX.
4. Sets the operating system Name attribute for the swinstall command line.
#################################################################
# Ensure that the swinstall command line used contains the correct pose_as
# attributes for the type of system being installed.
#
sd_command_line += " -x os_release=" +
40
${release}
(_hp_os_bitness == "64")
{
(!can_run_64bit)
{
ERROR += "This system model: \"" +${model}+ "\" is not supported for
running 64bit HP-UX, you must select the 32bit selection"
}
sd_command_line += " -x os_name=HP-UX:64 "
}
else
{
(_hp_os_bitness == "32")
{
(!can_run_32bit)
{
ERROR += "This system model: \"" +${model}+ "\" is not supported for
running 32bit HP-UX, you must select the 64bit selection"
}
sd_command_line += " -x os_name=HP-UX:32 "
}
else
{
ERROR += "The _hp_os_bitness variable is not set to \"32\" or \"64\".
This variable must be set in the config file that supplies the core archive or
depot. If using an archive, make sure you start with the core11.cfg example
config file. When using a depot, make_config will set this automatically."
}
}
_hp_os_bitness visible_if false
You should exercise care when setting the value of sd_command_line in any other configuration
file because the os_name and os_release variables are required to install software correctly
during an initial installation. Using = rather than += to add an option to sd_command_line
removes any current settings from sd_command_line.
Analyzing the HP-UX default B.11.31 cfg clause
The following is from a default /var/opt/ignite/INDEX showing the configuration files
referenced by the default HP-UX B.11.31 cfg clause:
40
Concatenates two strings together using the + operator. For more information, refer to instl_adm(4).
64