The following list specifies the interaction between the -G option and the SUNW_PKG_ALLZONES variable when adding a patch in global and non-global zones.
If any packages have SUNW_PKG_ALLZONES=TRUE, this use results in an error and no action.
If no packages have SUNW_PKG_ALLZONES=TRUE, patch is applied to package(s) in global zone only.
If any packages have SUNW_PKG_ALLZONES=TRUE, patch is applied to those package(s) in all zones.
If any packages do not have SUNW_PKG_ALLZONES=TRUE, patch is applied to those package(s) in all appropriate zones. Global zone only packages are installed only in the global zone.
If any packages have SUNW_PKG_ALLZONES=TRUE, this use results in an error and no action.
If no packages have SUNW_PKG_ALLZONES=TRUE, patch is applied to packages in non-global zone only.