On 04/21/10 18:16, Bart Smaalders wrote:
2) All image-modifying operations on a live image
would create a new boot environment only if needed.
This behavior could be altered via command line flags
to always create a new boot environment or to never
create one, failing instead if the operation needs
one.

How do I know what happened in this case? in particular, how would a script invoking a "pkg install"'s know which path was taken?

How would I do the equivalent of:

        pkg install foo
        if last-pkg-op-created-new-be; then
                schedule-a-reboot
        else
                restart-a-few-things
        fi

???

Also, does -R imply --no-new-be ?

                                        - Bill



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

Reply via email to