I know there has been lots of discussion on the "package configuration"
topic. But to be honest, the more I read the more confused I get
on what specifically is being proposed and how it will impact my
project.

So I'd like to try your patience with a use case...

In the Update Center 2.0 project the user image, non-root install, and
cross-platform capabilities of IPS are critical. These aspects of
IPS don't get much play in this forum -- which is understandable given
the (appropriate) emphasis on OpenSolaris, but they are central to
what we are trying to do. It's still unclear to me if the mechanism
Bart is designing (for issue 578) can be used to address this use
case or not:

1. Non-root user installing a package into a user-image

2. On a non-OpenSolaris platform (Windows, Linux, Mac OS, S9)

3. When a package is installed we want to perform some integration
with the user's desktop. For example register a start-up task, or
add an item to the Start menu.

4. We have code that will handle this integration for the various
platforms -- but we need a way to trigger the code post package
installation (and do cleanup on removal).

For now we handle this using our updatetool GUI. We do this
by tagging packages with our own attributes that specify the
scripts to run on package install/update/removal. These scripts
are delivered by the packages themselves and the updatetool
GUI runs them at the appropriate time. Details are given here:

<http://wiki.updatecenter.java.net/Wiki.jsp?page=UC20FSD.InstallConfig>

But this only works if the user runs the GUI. We would like to
also have this occur when they install packages via "pkg install".
And it must work on all platforms.

My questions:

1. Will the solution Bart is working on (related to 578)
support this use case? In a cross-platform fashion?

2. If no, is it because the solution will require SMF which is
not on all platforms? And somebody will need to figure out what
to do on other platforms (like just have 'pkg' do it!)?

3. Or is it the case that we simply can't have "pkg install" trigger
this type of operation -- and we must accept the fact that only users
of our GUI (or, generally speaking, an installer) get this type of
capability.

Thanks,

Joe
http://wiki.updatecenter.java.net/







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

Reply via email to