Nicolas Williams wrote:
On Tue, Jun 09, 2009 at 11:52:14PM +0200, Darren Reed wrote:
One might ask the very same question of using SMF for that task.
How can SMF assemble a file it has never seen before?
The pkg author provides the start method that knows what to do.
Why can we teach SMF to do this but not pkg?
IPS could have it's own SMF-like actuator concept. It'd be replicating
much of the same functionality that's already in SMF. I think that'd be
cleaner, actually, but it'd also require lots more work.
This would imply that anyone adding new stuff to be merged
would have to add code to the packaging system, and the packaging system
would have be upgraded often.
The packaging system's job is to manage packages according to the
constraints defined in those packages, and deliver the files that
comprise those packages in a coherent fashion. We'ved added the ability
to suspend/disable/restart SMF services as a side effect of installation
on a live image; this insures that whatever mechanism we use when a
package is installed on a live system is the same code that gets run
at first boot after a fresh install or upgrade.
- Bart
--
Bart Smaalders Solaris Kernel Performance
[email protected] http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss