On Tue, Jun 16, 2009 at 12:57:28AM -0500, Nicolas Williams wrote:

> On Tue, Jun 16, 2009 at 11:22:50AM +0530, Venky wrote:
> > On Mon, Jun 15, 2009 at 08:03:43PM -0700, Bart Smaalders wrote:
> > > How about one to cause the operation
> > > to fail if a new BE is required?
> > 
> > Don't care for this much, unless this would be the interface to
> > figure out if an install would need a reboot, as Nico suggested.
> > Though for that case, I prefer a command which would just tell me if
> > a reboot would be required and make no changes to the image at all.
> > Maybe "pkg install -n"?
> 
> I think you're right that this is not as useful as the other option.
> Would I want to wait twice for pkg to create a plan?  Probably not.  So
> I think I've changed my mind on this one.

Though computing image plans should be *far* quicker once Bart's SAT solver
comes back, we've tossed around the idea of caching plans.  We could
automatically save them when doing -n or --fail-on-reboot (or whatever),
and reload them if they hadn't been invalidated.

Besides, I'm not sure if I really want to have "install -n[v]" be
parseable.

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

Reply via email to