On 02/12/10 12:01 PM, Nicolas Williams wrote:
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?

There's nothing special required for it other than practices people should generally already be following for relocatable packages.

Their pages are here:

http://blogs.sun.com/uc2/
http://wikis.sun.com/display/IpsBestPractices/

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

Reply via email to