aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2026-01-27 22:51:22 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2026-05-12 22:22:57 +0000
commitd889f6c466d4cec73c34bc71093d08b25e321071 (patch)
tree5b5541e1002450bfbbd3c15ce83c65f6914238a1
parent714f6ac0003482d3270a9d0026e59909cff73c3f (diff)
release/tools: use same pkg settings in containers as in /etc/pkg/FreeBSD.conf
Instructions in /etc/pkg/FreeBSD.conf and elsewhere recommend putting changes in /usr/local/etc/pkg/repos/FreeBSD.conf so bring OCI containers into line as well. Reviewed by: dfr, ivy Differential Revision: https://reviews.freebsd.org/D54090 MFC after: 5 days Sponsored by: SkunkWerks, GmbH (cherry picked from commit c73ae67348998a0056145e88debbea9ff6860c4f)
-rw-r--r--release/tools/oci-image-static.conf6
1 files changed, 1 insertions, 5 deletions
diff --git a/release/tools/oci-image-static.conf b/release/tools/oci-image-static.conf
index 8e642d9defce..e2231d951268 100644
--- a/release/tools/oci-image-static.conf
+++ b/release/tools/oci-image-static.conf
@@ -36,12 +36,8 @@ oci_image_build() {
;;
esac
mkdir -p $m/usr/local/etc/pkg/repos
- cat > $m/usr/local/etc/pkg/repos/base.conf <<EOF
+ cat > $m/usr/local/etc/pkg/repos/FreeBSD.conf <<EOF
FreeBSD-base: {
- url: "https://pkg.FreeBSD.org/\${ABI}/${repo}",
- mirror_type: "srv",
- signature_type: "fingerprints",
- fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
EOF