Date: Mon, 17 Apr 2017 19:21:00 +0200 From: Niklaas Baudet von Gersdorff <stdin@niklaas.eu> To: freebsd-questions@freebsd.org Subject: Re: building packages and creating a central repo Message-ID: <20170417172100.vqspps77wv7m7xro@box-hlm-03.niklaas.eu> In-Reply-To: <3e2eca2f-8ee3-2750-be2c-7ffe2ad2e025@tysdomain.com> References: <3e2eca2f-8ee3-2750-be2c-7ffe2ad2e025@tysdomain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Littlefield, Tyler [2017-04-17 13:09 -0400] : > I can use mount-bind, but these are built as root and I don't want to > have to chown them every time I rebuild. What's the easiest way to map a > directory into a jail? mount_nullfs(8) You can mount the necessary folder(s) in /usr/local/poudriere somewhere under /usr/local/jails/myjail (depending on where your jail is) e.g., mount_nullfs /usr/local/poudriere/data/packages/10amd64-default/ /usr/local/jails/www/usr/local/www/pkg Niklaas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170417172100.vqspps77wv7m7xro>