Date: Sun, 16 Nov 2025 13:31:54 +0900 (JST) From: Yasuhiro Kimura <yasu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: Re: git: 9835413fb078 - releng/15.0 - bsdinstall: Enable FreeBSD-base repo when pkgbase Message-ID: <20251116.133154.1583876536335720886.yasu@FreeBSD.org> In-Reply-To: <202511160312.5AG3C6RS094400@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
From: Colin Percival <cperciva@FreeBSD.org> Subject: git: 9835413fb078 - releng/15.0 - bsdinstall: Enable FreeBSD-base repo when pkgbase Date: Sun, 16 Nov 2025 03:12:06 GMT > The branch releng/15.0 has been updated by cperciva: > > URL: https://cgit.FreeBSD.org/src/commit/?id=9835413fb0788f65002a40f47e02c08e23047525 > > commit 9835413fb0788f65002a40f47e02c08e23047525 > Author: Colin Percival <cperciva@FreeBSD.org> > AuthorDate: 2025-11-15 21:56:35 +0000 > Commit: Colin Percival <cperciva@FreeBSD.org> > CommitDate: 2025-11-16 03:11:17 +0000 > > bsdinstall: Enable FreeBSD-base repo when pkgbase > > When performing a pkgbase install, create a configuration file in > /usr/local/etc/pkg/repos/FreeBSD.conf which enables the FreeBSD-base > repository. (This repository is defined in /etc/pkg/FreeBSD.conf as > being disabled by default.) When it is fresh install of 15.0-RC1 pkgbase system, information of FreeBSD-base repository is put as below [/etc/pkg/FreeBSD.conf] ---------------------------------------------------------------------- FreeBSD-base: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: no } ---------------------------------------------------------------------- [/usr/local/etc/pkg/repos/FreeBSD-base.conf] ---------------------------------------------------------------------- FreeBSD-base: { enabled: yes } ---------------------------------------------------------------------- And it works as is expected. When it is upgrade from 15.0-BETA5 or before, on the other hand, the information is put as below after `pkg upgrade` has finished. [/etc/pkg/FreeBSD.conf] ---------------------------------------------------------------------- FreeBSD-base: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: no } ---------------------------------------------------------------------- [/usr/local/etc/pkg/repos/FreeBSD-base.conf] ---------------------------------------------------------------------- FreeBSD-base: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_0", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } ---------------------------------------------------------------------- Since settings in /usr/local/etc/pkg/repos/FreeBSD-base.conf overwrite ones in /etc/pkg/FreeBSD.conf, "pkg.FreeBSD.org" is still used as url of FreeBSD-base repository. --- Yasuhiro Kimurahome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20251116.133154.1583876536335720886.yasu>
