From owner-freebsd-pkgbase@freebsd.org Sat Apr 11 15:08:28 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 0D9002BB671 for ; Sat, 11 Apr 2020 15:08:28 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48zyty5GYMz3FmL for ; Sat, 11 Apr 2020 15:08:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1586617698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=COVq7gDKKo1WdGWvfIMWMxTSDI9qZWFYvghKVROtdeM=; b=jBPvbBbElTlDTsZWEpXpnfRwj/6M5xIVmePfZjHAvFm36lsxSqRh0YjnfFOHrz37c9S4z5 paiBrwjdorFhuWGkO/JxCOqwb/J409OmSjsgv9+WDINEhxmby7zgROT7oEw9Y7Ge2QDT6g yIoncf8e3niyNUF5GeSun4WmuGaR+lw= Received: from skull.home.blih.net (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 1e28d63b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 11 Apr 2020 15:08:18 +0000 (UTC) Date: Sat, 11 Apr 2020 17:08:16 +0200 From: Emmanuel Vadot To: Grzegorz Junka 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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48zyty5GYMz3FmL X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=jBPvbBbE; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.83 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.33)[ip: (-9.04), ipnet: 212.83.128.0/19(1.94), asn: 12876(0.43), country: FR(0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; 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:08:28 -0000 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. Cheers, -- Emmanuel Vadot