On Fri, Feb 12, 2010 at 11:38:17AM -0600, Shawn Walker wrote: > On 02/11/10 06:21 PM, Nicolas Williams wrote: > >I've yet to figure out how to make user images work, and I suspect that > >they don't really. But even if they did work perfectly, I'd still > >think, like you, that operating on a user image should require that the > >user explicitly request that. The default should be that pkg(1) > >operates on the booted BE's image -- anything else is deeply counter- > >intuitive. > > User images work (afaik) as expected as long as they only express > self-contained dependencies. That is, as long as they want to install > packages that can be installed into an arbitrary root, have correct > runpaths, etc. > > As you're probably aware, the Glassfish team has used pkg(5) to > distribute their product for quite a while now, and user images are what > they use. (See the UpdateCenter2 tool.)
I wasn't aware of that. Is there documentation on how to build pkgs for installation into user images? > With that said, the last bit (afaik) of functionality that has not yet > been implemented for user images is the ability for them to have a > parent image that can be used for non-relocatable dependencies, etc. so > that you can install one-off packages inside the user image while using > the dependencies in the parent. Yes, that seems necessary. Nico -- _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
