From owner-freebsd-current@FreeBSD.ORG Fri Aug 24 16:02:29 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A30AB106564A; Fri, 24 Aug 2012 16:02:29 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 81CA98FC12; Fri, 24 Aug 2012 16:02:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7OG2TdZ035868; Fri, 24 Aug 2012 16:02:29 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7OG2T7R035866; Fri, 24 Aug 2012 16:02:29 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 24 Aug 2012 18:02:26 +0200 From: Baptiste Daroussin To: Bryan Drewery Message-ID: <20120824160226.GC37867@ithaqua.etoilebsd.net> References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50377253.103@FreeBSD.org> <20120824143119.GA37867@ithaqua.etoilebsd.net> <5037A2C6.4060200@shatow.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pk6IbRAofICFmK5e" Content-Disposition: inline In-Reply-To: <5037A2C6.4060200@shatow.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, Steve Wills , current@FreeBSD.org, Alex Dupre Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 16:02:29 -0000 --Pk6IbRAofICFmK5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" > >> > >=20 > > Imho the best is to prompt only if not on a tty, otherwise fail, except= if a > > environment variable is set. > >=20 > > regards, > > Bapt > >=20 >=20 > 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@) >=20 > Bryan --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlA3pZIACgkQ8kTtMUmk6EzHiACgicwu0vyhuSOyRrNDAm0CnTTt GVAAniADTmVjp37RwqAAuYFUQJ9b0UFB =tgk5 -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--