On Wed, Jul 22, 2009 at 02:45:22PM -0700, Bart Smaalders wrote: > Edward Pilatowicz wrote: >> going twice... >> >> On Mon, Jul 20, 2009 at 10:38:43PM -0700, Edward Pilatowicz wrote: >>> so here's a pointer to the latest change variant webrev: >>> >>> http://cr.opensolaris.org/~edp/pkg-vc/ >>> >>> i've integrated feedback from brock and dan. >>> the notable changes from the last webrev update include: >>> >>> - common exception handling in client.py for api plan exceptions. >>> >>> - change variant now ignores packages that don't have an variant.arch >>> specification. (the test cases are also updated to test this.) >>> >>> - pkg man page changes >>> >>> ed >> _______________________________________________ >> pkg-discuss mailing list >> [email protected] >> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > > This looks good, Ed... thanks for combining & cleaning stuff > up. > > What is the result of change-variant run w/ a -R argument: > > pkg -R /mnt change-variant ... > > The man page may be a bit ambiguous here... >
well, assuming you have an image mounted at /mnt, then change-variant operates on that image. it works just like every other packaging operation that accepts -R or PKG_IMAGE. (and i did all my testing with PKG_IMAGE set.) were you expecting a different behavior? is there any additional man page change you want me to make? currently -R is supported on all pkg subcommands except for version and image-create, and the man page doesn't mention which subcommands are supported and which ones aren't. if you want me to clarify this in the man page it would probably make sense to add comments to the subcommands which don't support -R, rather than update almost all the subcommands that do. ed _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
