From owner-freebsd-pkgbase@freebsd.org Sat Apr 11 15:51:03 2020 Return-Path: Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 759072BC6C0 for ; Sat, 11 Apr 2020 15:51:03 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48zzr55bnrz3JL1 for ; Sat, 11 Apr 2020 15:51:01 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BFowHX080814 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 11 Apr 2020 15:50:58 GMT (envelope-from list1@gjunka.com) Subject: Re: Using etcupdate with pkgbase To: Emmanuel Vadot Cc: freebsd-pkgbase@freebsd.org References: <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com> <20200411170816.c6318b4fa6074f64335fcdab@bidouilliste.com> From: Grzegorz Junka Message-ID: Date: Sat, 11 Apr 2020 15:50:58 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200411170816.c6318b4fa6074f64335fcdab@bidouilliste.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48zzr55bnrz3JL1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-5.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gjunka.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.57)[ip: (-9.35), ipnet: 88.98.192.0/18(-4.68), asn: 56478(-3.74), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2020 15:51:03 -0000 On 11/04/2020 15:08, Emmanuel Vadot wrote: > Hello, > > On Sat, 11 Apr 2020 13:27:23 +0000 > Grzegorz Junka 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. > Thanks for quick update. Is the wiki outdated then? https://wiki.freebsd.org/PkgBase#Initial_setup See point 8. --GrzegorzJ