Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2020 17:08:16 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Grzegorz Junka <list1@gjunka.com>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: Using etcupdate with pkgbase
Message-ID:  <20200411170816.c6318b4fa6074f64335fcdab@bidouilliste.com>
In-Reply-To: <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com>
References:  <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com>

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

 Hello,

On Sat, 11 Apr 2020 13:27:23 +0000
Grzegorz Junka <list1@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@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@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@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@bidouilliste.com> <manu@freebsd.org>



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