> > > This sounds to me that in my case (two kinds of contents; one is for the > > global > > zone ony (i.e. driver) and the other is for both (i.e. smf service)), I > > should > > use separate packages (one for driver, the other for smf service). > > > > Am I right? > > If having the driver on the system doesn't make any sense without also > having the service, and vice versa, then they should be delivered in the > same package. You'll need to make sure that the driver bits are tagged > with the global zone variant, and bits related to the service aren't, the > hows of which are explained in the global_zone_only_component transform > file.
Thank you for your tip. so in my case, I should do: - use the same package (both are tightly connected) - leave "<include global_zone_only_component>" in the driver manifest file - add "variant.opensolaris.zone=__NODEFAULT" to files/directories I want to install on the non-global zones. In my case, this is: file path=lib/svc/manifest/system/rdsv3.xml group=sys mode=0444 variant.opensolaris.zone=__NODEFAULT file path=lib/svc/method/rdsv3 group=bin mode=0555 variant.opensolaris.zone=__NODEFAULT Right? -Eiji _______________________________________________ on-ips-dev mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/on-ips-dev
