Date: Fri, 31 Aug 2012 10:21:50 -0400 From: John Baldwin <jhb@freebsd.org> To: Chris Rees <utisoft@gmail.com> Cc: Baptiste Daroussin <bapt@freebsd.org>, Doug Barton <dougb@freebsd.org>, Tijl Coosemans <tijl@coosemans.org>, freebsd-ports <freebsd-ports@freebsd.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap Message-ID: <201208311021.50490.jhb@freebsd.org> In-Reply-To: <CADLo839V=EFWs5wchk9v_QwZ11bQVp9bfKpRM%2BUZebDUcCLLDA@mail.gmail.com> References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <201208310810.50725.jhb@freebsd.org> <CADLo839V=EFWs5wchk9v_QwZ11bQVp9bfKpRM%2BUZebDUcCLLDA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, August 31, 2012 9:41:13 am Chris Rees wrote: > On 31 Aug 2012 13:15, "John Baldwin" <jhb@freebsd.org> 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" <jhb@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208311021.50490.jhb>