Comments: FreeBSD.conf should not be overwritten
The files /usr/sbin/pkg/FreeBSD.conf.* currently set base repo to {enable: no}.
We don't want to overwrite /local/etc/pkg/repos/FreeBSD.conf that already exists
when users choose tech preview in the installation.
Signed-off-by: Guilherme Augusto de Souza Candinho <cndghm@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1925
This commit is contained in:
committed by
Warner Losh
parent
17ba6f4286
commit
849c0eb070
@@ -1,9 +1,9 @@
|
||||
#
|
||||
# To disable a repository, instead of modifying or removing this file,
|
||||
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
|
||||
# create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
|
||||
#
|
||||
# mkdir -p /usr/local/etc/pkg/repos
|
||||
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
# echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
#
|
||||
# Note that the FreeBSD-base repository is disabled by default.
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
|
||||
#
|
||||
# To disable a repository, instead of modifying or removing this file,
|
||||
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
|
||||
# create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
|
||||
#
|
||||
# mkdir -p /usr/local/etc/pkg/repos
|
||||
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
# echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
#
|
||||
# Note that the FreeBSD-base repository is disabled by default.
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#
|
||||
# To disable a repository, instead of modifying or removing this file,
|
||||
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
|
||||
# create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
|
||||
#
|
||||
# mkdir -p /usr/local/etc/pkg/repos
|
||||
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
# echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
#
|
||||
# Note that the FreeBSD-base repository is disabled by default.
|
||||
|
||||
Reference in New Issue
Block a user