B balanga Mar 16, 2018 #1 How would I go about pointing /var/cache/pkg to somewhere on my file server, maybe even on my pfSense box?
How would I go about pointing /var/cache/pkg to somewhere on my file server, maybe even on my pfSense box?
SirDice Administrator Staff member Administrator Moderator Mar 16, 2018 #2 Code: PKG_CACHEDIR: string Specifies the cache directory for packages. Default: /var/cache/pkg pkg.conf(5)
Code: PKG_CACHEDIR: string Specifies the cache directory for packages. Default: /var/cache/pkg pkg.conf(5)
OP B balanga Mar 16, 2018 Thread Starter #3 SirDice said: Code: PKG_CACHEDIR: string Specifies the cache directory for packages. Default: /var/cache/pkg pkg.conf(5) Click to expand... It says the default location of this file is /usr/local/etc/pkg.conf.... Where would I set it to point somewhere else?
SirDice said: Code: PKG_CACHEDIR: string Specifies the cache directory for packages. Default: /var/cache/pkg pkg.conf(5) Click to expand... It says the default location of this file is /usr/local/etc/pkg.conf.... Where would I set it to point somewhere else?
ShelLuser Mar 16, 2018 #4 By editing /usr/local/etc/pkg.conf of course and then setting this property to point to another location.
By editing /usr/local/etc/pkg.conf of course and then setting this property to point to another location.
phoenix Mar 17, 2018 #5 Mount an NFS share onto that directory. Then you don't have to edit any of the pkg config files and the files are stored remotely on the NFS server.
Mount an NFS share onto that directory. Then you don't have to edit any of the pkg config files and the files are stored remotely on the NFS server.