Using etcupdate with pkgbase
Emmanuel Vadot
manu at bidouilliste.com
Sat Apr 11 15:08:28 UTC 2020
Hello,
On Sat, 11 Apr 2020 13:27:23 +0000
Grzegorz Junka <list1 at gjunka.com> wrote:
> I have reinstalled the base system from FreeBSD pacakges build on a
> different server. I have also created a tarball to use with etcupdate
>
> root at build:~ # etcupdate build -s /usr/src-12-1-p3
> /usr/obj/usr/src-12-1-p3_etc.tgz
>
> I have extracted it on the destination host
>
> root at host:/tmp # etcupdate extract -t /tmp/src-12-1-p3_etc.tgz
>
> How am I supposed to maintain etc updates going forward? Just running
> etcupdate returns with an error:
>
> root at host:~ # etcupdate
> Failed to build new tree.
>
You're not supposed to use etcupdate with pkgbase, the pkgs have the
configuration files taggued and so pkg(8) will attempt a 3 way merge on
them.
Cheers,
--
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
More information about the freebsd-pkgbase
mailing list