Nicholas Solter wrote:
I saw that there is a zone variant line in many of the packages, and thought I could use it to prevent my packages from being installed in a non-global zone by specifying only value=global. So I added this line:

set name=variant.zone value=global

But it doesn't seem to have the desired effect. I can still install the package in the non-global zone. I tried this line as well (which I saw on a blog somewhere):

set name=variant.opensolaris.zone value=global

It doesn't seem to have the desired effect either. I can still install the package in a non-global zone. What am I missing?

Thanks,
Nick
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss


Installing a package in a zone will cause those portions of the
package unsuitable for zone installation to be elided.

Take a look at SUNWckr for how to tag actions in your package.

We only check for arch right now at the package level; we tag
all actions so a package that has contents only needed for the
global zone gets installed, but all the actions are filtered out.

- Bart





--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to