Bart Smaalders wrote:
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.
Thanks, Bart. Looking at SUNWckr, I see this line near the top:
set name=variant.zone value=global value=nonglobal
Are you saying that line doesn't actually do anything at the moment? Is
there a plan to implement this at the package level as well as at the
action level?
Thanks,
Nick
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss