/etc/pkg/FreeBSD.conf being overwritten during pkg upgrade
Lars Engels
lars.engels at 0x20.net
Wed Apr 27 06:11:23 UTC 2016
On Wed, Apr 27, 2016 at 07:45:40AM +0200, Ben Woods wrote:
> On Tuesday, 26 April 2016, Garrett Wollman <wollman at csail.mit.edu> wrote:
>
> > <<On Tue, 26 Apr 2016 19:12:42 +0200, Ben Woods <woodsb02 at gmail.com
> > <javascript:;>> said:
> >
> > > One minor problem I have noticed is that each time I do a "pkg upgrade -r
> > > FreeBSD-base" it is overwriting /etc/pkg/FreeBSD.conf which I have edited
> > > to disable the default repository. My expectation is that configuration
> > > files should have a 3 way merge to maintain my local edits, rather than
> > > overwriting them.
> >
> > Ben, I believe the official supported way to do this is to put your
> > changes into /usr/local/etc/pkg/repos/FreeBSD.conf instead -- whatever
> > is in there will override the files in /etc.
> >
> > -GAWollman
> >
>
> * face palm *
>
> Thanks Garrett. Reading the contents of /etc/pkg/FreeBSD.conf a bit closer,
> it does clearly state that!
>
> Thanks for pointing that out.
Wouldn't /etc/pkg/FreeBSD.conf better be hosted in /etc/default then?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20160427/bc8f9a8c/attachment.sig>
More information about the freebsd-pkgbase
mailing list