Page MenuHomeFreeBSD

bsdinstall: always install FreeBSD-base.conf if using pkgbase
ClosedPublic

Authored by ifreund_freebsdfoundation.org on Jul 1 2025, 10:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 10:21 PM
Unknown Object (File)
Fri, Jun 5, 1:26 AM
Unknown Object (File)
May 16 2026, 2:04 AM
Unknown Object (File)
May 15 2026, 2:26 AM
Unknown Object (File)
May 14 2026, 6:22 PM
Unknown Object (File)
May 14 2026, 2:23 AM
Unknown Object (File)
May 12 2026, 6:04 AM
Unknown Object (File)
May 8 2026, 3:43 PM

Details

Summary

Currently bsdinstall does not install FreeBSD-base.conf when performing
an offline pkgbase installation. This commit fixes that.

PR: 287821
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 1 2025, 12:57 PM

Compare with the precedent of a single file:

/etc/pkg/FreeBSD.conf

– for multiple FreeBSD repos. With one of my test machines, for example,

#
# To disable a repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#   echo "FreeBSD-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD-ports: {
  url: "pkg+https://pkg.freebsd.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
FreeBSD-kmods: {
  url: "pkg+https://pkg.freebsd.org/${ABI}/kmods_quarterly_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

Context

pkg.conf: Use kmod repositories · freebsd/freebsd-src@a47542f for release/14.3.0 was followed by: