Bart Smaalders wrote:
Joseph Di Pol wrote:
But I think I have a valid need here. And I think the
UserImageActuator is a reasonable compromise. I know it's not
perfect, and the SMF implementation is more robust. But I also think
the requirements and risk/benefit trade offs are different for
user images than for system images.


So in which package does the code to add a menu item belong?
Do all packages you want to install depend on that package?

For sake of argument I have one package and it needs to add a
menu item. It contains the code snippet to do it.

What happens if I have multiple user images?
Do I get menu items added for each user image?

Maybe the first one gets a menu item and the second doesn't. Maybe
each get a menu item and the tooltip indicates the path to
the user image. Maybe the first gets a generic name and the
others get some qualifier. I don't know -- but I don't think it
should be up to the packaging system to decide the right answer.

> How do these
menu items get cleaned up?

Presumeably they are cleaned up when the corresponding
"user_disable_cmd" is run before a particular file is removed.

What other use cases are there beside adding a menu item?

See my response to Stephen's e-mail.



- Bart






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

Reply via email to