mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:c73ae67348("release/tools: use same pkg settings ...") MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60868 (cherry picked from commit93c05b743e)
This commit is contained in:
1 parent
0bc51f4b51
commit
9154ea3a95
1 file changed
-8
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user