On Thu, Sep 09, 2010 at 09:04:18PM -0700, Darren Reed wrote:
> >>I think I'll add a "pkg set publisher -d darrenr" to my
> >>first-boot-install service..
> >Maybe I don't understand your problem, but once you've disabled a
> >publisher it should stay disabled.  In your script, please use --disable
> >since the -d option isn't documented and is deprecated.  (It will be
> >removed in a future dev release).
> 
> What I'm doing here is using additional publishers to
> install extra bits to make the install more "automated"
> and require less touching up afterwards. Once the
> install has finished, the publishers that provide those
> packages are no longer required or relevant.

You might be able to use unset-publisher instead, but I'm not sure if
Shawn has changed this so publishers with installed packages cannot be
removed.  I think that once the on-disk-format work has been finished
you should just be able to point the client at an archive and install
the extra packages without having to configure and un-configure a new
publisher.  This may be an easier solution than what you're trying to
implement.

> As for "-d" it is documented in 147's man page for "pkg"
> under "set-publisher" ... I don't know if the documentation
> has changed since then?

Ah, my mistake then.  I somehow didn't see this in the manpage when I
looked, and thought we were removing it.  Sorry for the confusion.

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

Reply via email to