Hi.

> Users should not be advised to overwrite /usr/local/etc/pkg/repos/FreeBSD.conf

The stock  'Base System' config is at /etc/pkg/FreeBSD.conf ... that one should 
not be modified (officially).

The /usr/local/etc/pkg/repos/FreeBSD.conf is 'for' modifications.

Just modify bsdinstall(8) or 'default' /etc/pkg/FreeBSD.conf config to be like 
that:

| FreeBSD-base: {
|   url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}";,
|   mirror_type: "srv",
|   signature_type: "fingerprints",
|   fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
|   enabled: yes
| }

Because current situation is very strange where You have this by default after 
installation:

| FreeBSD-base: {
|   url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}";,
|   mirror_type: "srv",
|   signature_type: "fingerprints",
|   fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
|   enabled: no
| }

... and this in /usr/local/etc/pkg/repos/FreeBSD.conf file:

| FreeBSD-base: { enabled: yes }

What is the point of this split?

Regards,
vermaden


Reply via email to