pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

Baptiste Daroussin bapt at FreeBSD.org
Fri Aug 24 16:02:29 UTC 2012


On Fri, Aug 24, 2012 at 10:50:30AM -0500, Bryan Drewery wrote:
> On 8/24/2012 9:31 AM, Baptiste Daroussin wrote:
> > On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote:
> >> Baptiste Daroussin ha scritto:
> >>
> >>> On of the thing I forgot and kan@ has added is a prompt for the user in case it
> >>> is going to bootstrap.
> >>
> >> So, removing the prompt will make everybody happy? :-)
> >>
> >> What about a prompt with timeout? "This is the first time pkg is run,
> >> I'll start bootstrapping in 10 seconds. Press CTRL-C now to abort"
> >>
> > 
> > Imho the best is to prompt only if not on a tty, otherwise fail, except if a
> > environment variable is set.
> > 
> > regards,
> > Bapt
> > 
> 
> Maybe an ENV variable to auto confirm the prompt too? I'm thinking about
> scripts using pkg to bootstrap an entire system install. Maybe I'm on a
> TTY and just want it to confirm auto anyway.

This is already the case (thanks kan@)
> 
> Bryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120824/214b5905/attachment.pgp


More information about the freebsd-current mailing list