PeterFig
Dabbler
- Joined
- Sep 17, 2016
- Messages
- 20
I bought a FreeNAS Mini box through Amazon. It seems pkg is set up like this:
because of this:
Is there some reason (and does it matter) why this was configured this way?
Assuming I just need to add a suitable .conf file to this directory to update and install new packages, what should that .conf file look like?
Code:
Repositories: local: { url : "file:///usr/ports/packages", enabled : yes, priority : 0 }
because of this:
Code:
[peter@freenas /usr/local/etc/pkg/repos]$ ls FreeBSD.conf local.conf pcbsd-major.conf [peter@freenas /usr/local/etc/pkg/repos]$ cat local.conf local: { url: "file:///usr/ports/packages", enabled: yes } [peter@freenas /usr/local/etc/pkg/repos]$ cat FreeBSD.conf FreeBSD: { enabled: no } [peter@freenas /usr/local/etc/pkg/repos]$ cat pcbsd-major.conf pcbsd-major: { url: "http://pkg.cdn.pcbsd.org/10.0-RELEASE/amd64" signature_type: "fingerprints", enabled: false }
Is there some reason (and does it matter) why this was configured this way?
Assuming I just need to add a suitable .conf file to this directory to update and install new packages, what should that .conf file look like?