pkgadd -G
will do the trick.
Two ways a pkg can be installed in the global zone only.
a) SUNW_PKG_ALLZONES=false
SUNW_PKG_THISZONE=true
b) SUNW_PKG_ALLZONES=false
SUNW_PKG_THISZONE=false
# pkgadd was run with -G
Trolling though the installed pkginfo files will give you (a), but
not (b). What you're probably looking for is
/var/sadm/install/gz-only-packages. That's a private interface though.
For Blastwave packages one can set the environment variable ADMINFLAG=' -G'
(Looks however that this is also passed to pkgrm which bails out. Have to check this...)
Looks like PKGADDFLAGS=-G is another way. Will check....
No comments:
Post a Comment