Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 08:11:18 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        Garrett Wollman <wollman@csail.mit.edu>, "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org>
Subject:   Re: /etc/pkg/FreeBSD.conf being overwritten during pkg upgrade
Message-ID:  <20160427061117.GZ82927@e-new.0x20.net>
In-Reply-To: <CAOc73CBPbMC6ez0U15O8DOXNvKCPWTsoH8PvnzPxOEN-4wYOdg@mail.gmail.com>
References:  <CAOc73CAKbUTG=P-S2gFkmt5dWrjxRS7pzmXzoxVAvttBsdMDew@mail.gmail.com> <22303.43243.357400.240656@khavrinen.csail.mit.edu> <CAOc73CBPbMC6ez0U15O8DOXNvKCPWTsoH8PvnzPxOEN-4wYOdg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--8jSIhyJ+sG+KDNo4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 27, 2016 at 07:45:40AM +0200, Ben Woods wrote:
> On Tuesday, 26 April 2016, Garrett Wollman <wollman@csail.mit.edu> wrote:
>=20
> > <<On Tue, 26 Apr 2016 19:12:42 +0200, Ben Woods <woodsb02@gmail.com
> > <javascript:;>> said:
> >
> > > One minor problem I have noticed is that each time I do a "pkg upgrad=
e -r
> > > FreeBSD-base" it is overwriting /etc/pkg/FreeBSD.conf which I have ed=
ited
> > > to disable the default repository. My expectation is that configurati=
on
> > > files should have a 3 way merge to maintain my local edits, rather th=
an
> > > 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
> >
>=20
> * face palm *
>=20
> Thanks Garrett. Reading the contents of /etc/pkg/FreeBSD.conf a bit close=
r,
> it does clearly state that!
>=20
> Thanks for pointing that out.

Wouldn't /etc/pkg/FreeBSD.conf better be hosted in /etc/default then?

--8jSIhyJ+sG+KDNo4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJXIFgFXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tzUgH/03aLz96Hl87bZEaeVFkuKsw
XdKsXJJiAxFU3wzl6jIOZH/gblUe5+kZJZlFn5aS+Hap+BtOqYas9NeMPNIybZIi
nKhK6r0vIzUj6MsTsTIUSB5KklpU6tHSIMeqS65alohh0vkn/f7oCNLcy0PkKH56
V6MrQ/zOCnHTLtmEhZRXhilG4XBY6C+txnPYljDRdKKc42cpijKuD7jmKF6PBqJX
GLMgEmfpxnLUm+jSNyrW9xmjZrUaR1hJgk+ISLtdFs83X2efdsYJlOKI6PskddRP
2asaZjSl04mOjKNVKD3xcm99Z+vlmlqvWK2135+SEtLz+F6rv1ELR9RO9Bbyw5U=
=iXtY
-----END PGP SIGNATURE-----

--8jSIhyJ+sG+KDNo4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160427061117.GZ82927>