Wouldn't -n do it?

On 12/09/11 15:28, Danek Duvall wrote:
[email protected] wrote:

Is there a simple way to tell if installing/uninstalling/updating a
specific pkg will require reboot into a new boot environment, from
static analysis i.e. examining something in the pkg metadata?

If an action which is being changed or removed (looks like pkg(5) doesn't
get this right) has the attribute "reboot-needed" set to "true", then a new
BE will be created for the operation (if the action is being newly
installed, then a new BE may be created, but I think at the moment it never
is).

There's no way to tell what's going to happen based on the package alone,
as which actions get updated depends on what's currently installed.

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

Reply via email to