HomeFreeBSD

bsdinstall: Enable FreeBSD-base repo when pkgbase

Description

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.)

Approved by: re (cperciva)
Reported by: Mark Millard
Reviewed by: markj
MFC after: immediately (needed for 15.0-RC1)
Differential Revision: https://reviews.freebsd.org/D53777

(cherry picked from commit a96230e0329b32cbee0999813787a86eab521da4)
(cherry picked from commit 5d9062f2581ed280c49699a5d7c808015997ed24)

Details

Provenance
cpercivaAuthored on Nov 15 2025, 9:56 PM
Reviewer
markj
Differential Revision
D53777: bsdinstall: Enable FreeBSD-base repo when pkgbase
Parents
rGdbe26fafc618: vmimage.subr: Log pkg/local.sqlite if pkgbase
Branches
Unknown
Tags
Unknown