Previous Topic: Restrictions with the Use of RPM PackagesNext Topic: Installer Functions Overview


Native RPM and PKG Switches

You can define native switches for RPM and PKG installations.

PKG packages are installed on the according platforms (such as Solaris, UnixWare, NCR, SINIX, and so on) by using the "pkgadd" command. The lsm installer invokes the command with a fixed set of switches.

You can use the command line with the lsm option -nativeswitches to add additional switches. lsm adds these native switches to the pkgadd command.

Example:

lsm -i MY_TEST_PKG -nativeswitches "\-G"

The native switch "-G" is added to the pkgadd command. According to this switch, the PKG package "MY_TEST_PKG" is installed only in the "global zone" of a Solaris system.