From owner-freebsd-current@FreeBSD.ORG Fri Aug 31 17:55:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87840106564A; Fri, 31 Aug 2012 17:55:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 518818FC0A; Fri, 31 Aug 2012 17:55:03 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id AE804B93A; Fri, 31 Aug 2012 13:55:02 -0400 (EDT) From: John Baldwin To: Chris Rees Date: Fri, 31 Aug 2012 10:21:50 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <201208310810.50725.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201208311021.50490.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 31 Aug 2012 13:55:02 -0400 (EDT) Cc: Baptiste Daroussin , Doug Barton , Tijl Coosemans , freebsd-ports , freebsd-current 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, 31 Aug 2012 17:55:03 -0000 On Friday, August 31, 2012 9:41:13 am Chris Rees wrote: > On 31 Aug 2012 13:15, "John Baldwin" wrote: > > > > On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: > > > On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: > > > > On 08/30/2012 07:32 AM, John Baldwin wrote: > > > > > On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote: > > > > >> On 30 Aug 2012 18:03, "John Baldwin" wrote: > > > > >>> > > > > > > > > I agree with John on all counts here. Further, the idea of a > > > > self-installing package, at least for the pkg stuff itself, addresses > > > > the issue that someone else brought up about how to handle installation > > > > of pkg by the installer for a new system. > > > > > > I like the idea of also providing a self-installing package, and it seems really > > > easy to do, so I'll try to see what I can do in this area I'll wrote a PoC in 5 > > > minutes which looks pretty good, this could also be a very simple and easy way > > > to integrate into bsdinstaller. > > > > > > I'll do work in that direction. > > > > > > Still it doesn't solve the problem of boostrapping pkgng in a fresh new box, > > > because the user may not know where to download the pkg-setup.sh. > > > > I do think that is something bsdinstall should be able to handle, and I would > > certainly want bsdinstall to include a dialog that says "do you want to install > > the package manager?" > > Putting aside my previous emotional red herring, this is a great idea; > I don't see how it's different from a base binary, but OK. > > I don't see the need to be prompted-- it's not like the base system > doesn't have other larger amounts of software that is useless to many. > Can't it just go in? We could also do that. I had imagined something similar to sysinstall's "Do you want to browse the packages collection and install packages" dialog and that choosing yes to that in bsdinstall/bsdconfig would bootstrap pkgng when you say yes to that. However, I'm not opposed to just installing pkgng by default. -- John Baldwin