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
F156746377: D51101.id.diff
Sat, May 16, 2:04 AM
Unknown Object (File)
Fri, May 15, 2:26 AM
Unknown Object (File)
Thu, May 14, 6:22 PM
Unknown Object (File)
Thu, May 14, 2:23 AM
Unknown Object (File)
Tue, May 12, 6:04 AM
Unknown Object (File)
Fri, May 8, 3:43 PM
Unknown Object (File)
Sat, May 2, 2:59 PM
Unknown Object (File)
Thu, Apr 30, 8:27 AM

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65144
Build 62027: arc lint + arc unit

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: