The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=955ab1a8f21ec1a662a87fc5e76e6d5690e09085
commit 955ab1a8f21ec1a662a87fc5e76e6d5690e09085 Author: Colin Percival <cperc...@freebsd.org> AuthorDate: 2025-05-29 23:40:30 +0000 Commit: Colin Percival <cperc...@freebsd.org> CommitDate: 2025-05-29 23:43:46 +0000 pkg/FreeBSD.conf: Fix comments to reflect -kmods Now that this file lists two repositories, the text "to disable *this* repository" no longer makes sense. Also, expand the example to list how to disable both FreeBSD and FreeBSD-kmods repositories. Reported by: Graham Perrin MFC after: 3 days --- usr.sbin/pkg/FreeBSD.conf.latest | 5 +++-- usr.sbin/pkg/FreeBSD.conf.quarterly | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.sbin/pkg/FreeBSD.conf.latest b/usr.sbin/pkg/FreeBSD.conf.latest index b7b528bc3756..2175a3387437 100644 --- a/usr.sbin/pkg/FreeBSD.conf.latest +++ b/usr.sbin/pkg/FreeBSD.conf.latest @@ -1,9 +1,10 @@ # -# To disable this repository, instead of modifying or removing this file, -# create a /usr/local/etc/pkg/repos/FreeBSD.conf file: +# To disable a repository, instead of modifying or removing this file, +# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf +# echo "FreeBSD-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf # FreeBSD: { diff --git a/usr.sbin/pkg/FreeBSD.conf.quarterly b/usr.sbin/pkg/FreeBSD.conf.quarterly index 2050350baa1f..bd0ee13b9b43 100644 --- a/usr.sbin/pkg/FreeBSD.conf.quarterly +++ b/usr.sbin/pkg/FreeBSD.conf.quarterly @@ -1,9 +1,10 @@ # -# To disable this repository, instead of modifying or removing this file, -# create a /usr/local/etc/pkg/repos/FreeBSD.conf file: +# To disable a repository, instead of modifying or removing this file, +# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf +# echo "FreeBSD-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf # FreeBSD: {