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

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 31 Aug 2012 10:21:50 -0400
On Friday, August 31, 2012 9:41:13 am Chris Rees wrote:
> On 31 Aug 2012 13:15, "John Baldwin" <jhb_at_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_at_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
Received on Fri Aug 31 2012 - 15:55:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC