git: 93c05b743ea8 - main - OCI: Remove dead code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Oct 2026 02:38:36 UTC
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=93c05b743ea865bb87653e9ee5fbaa837c00eee7
commit 93c05b743ea865bb87653e9ee5fbaa837c00eee7
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-10-19 17:17:16 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-10-20 02:38:28 +0000
OCI: Remove dead code
We don't need to pick a repository URL when all we're doing is enabling
one which was specified in /etc/pkg/.
Reviewed by: dch, imp
Fixes: c73ae6734899 ("release/tools: use same pkg settings ...")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D60868
---
release/tools/oci-image-static.conf | 8 --------
1 file changed, 8 deletions(-)
diff --git a/release/tools/oci-image-static.conf b/release/tools/oci-image-static.conf
index e2231d951268..8d2d80744a19 100644
--- a/release/tools/oci-image-static.conf
+++ b/release/tools/oci-image-static.conf
@@ -27,14 +27,6 @@ oci_image_build() {
UNTRUSTPATH=${srcdir}/secure/caroot/untrusted \
certctl -c rehash
# Generate a suitable repo config for pkgbase
- case ${branch} in
- CURRENT|STABLE|BETA*)
- repo=base_latest
- ;;
- *)
- repo=base_release_${minor}
- ;;
- esac
mkdir -p $m/usr/local/etc/pkg/repos
cat > $m/usr/local/etc/pkg/repos/FreeBSD.conf <<EOF
FreeBSD-base: {