packages and base jails

Eugene Grosbein eugen at grosbein.net
Mon Nov 26 23:51:34 UTC 2018


27.11.2018 6:42, Eugene Grosbein wrote:

> But not /usr/local nor /usr/{src|obj}, if that matters. So each jail have its own
> set of packages or even ports if I choose to null-mount host's /usr/ports readonly
> to /usr/local/j/${JAILNAME}/basejail/usr/ports

In fact, to /usr/local/j/${JAILNAME}/usr/ports directly.

> and write to jail's /etc/make.conf:
> 
> WRKDIRPREFIX=           /var/ports
> DISTDIR=                /var/ports/distfiles
> PACKAGES=               /var/ports/packages
> INDEXDIR=               /var/ports
> 
> That works just fine for me.



More information about the freebsd-ports mailing list