HomeFreeBSD

release: Install pkg from the pkgbase repo

Description

release: Install pkg from the pkgbase repo

If we're building pkgbase media, install the pkg package from the
pkgbase repository we already created, not from pkg.freebsd.org.
Aside from being more desirable, this also fixes make release for
version/architecture combinations which are missing repository
on pkg.f.o (which is nearly all of them at the time of writing).

This doesn't yet work for bootonly, since we don't build the pkgbase
repository there. For now, restore the old behaviour of attempting
to install pkg from pkg.freebsd.org for bootonly.

MFC after: 1 day
Reviewed by: ifreund_freebsdfoundation.org, cperciva (previous version)
Differential Revision: https://reviews.freebsd.org/D52637

Details

Provenance
ivyAuthored on Sep 23 2025, 10:37 PM
Reviewer
ifreund_freebsdfoundation.org
Differential Revision
D52637: release: Install pkg from the pkgbase repo
Parents
rG5bb96dab061a: pkgbase-stage.lua: Add pkg package to the offline repo
Branches
Unknown
Tags
Unknown