From owner-freebsd-questions@freebsd.org Mon Apr 17 17:21:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B2F6D42792 for ; Mon, 17 Apr 2017 17:21:12 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from mx.box-hlm-01.niklaas.eu (mx.box-hlm-01.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:fe1b:d1ad]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3853C9AB for ; Mon, 17 Apr 2017 17:21:12 +0000 (UTC) (envelope-from stdin@niklaas.eu) X-Virus-Scanned: amavisd-new at niklaas.eu Received: from box-hlm-03.niklaas.eu (unknown [10.77.0.1]) by mx.box-hlm-01.niklaas.eu (Postfix) with ESMTPSA id 9A7552C350D for ; Mon, 17 Apr 2017 19:21:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=niklaas.eu; s=default; t=1492449660; bh=kpc7Sf00DAynGBpUe5USQW/hjmf0EXpFiyq5eiJSCAY=; h=Date:From:To:Subject:References:In-Reply-To; b=Pscxu4w9p1PaRX3zOtUgsb8SjGTLRfA4lLsDqqNCzQkXWEJ/0TmMQidsGQFOA1B1q 6+uCxSm3VTNe/pO9Tv4WV/2EwfJPZW9UhVBSu5YwZxWL3uyVP4pelGOhyXabFpowHK x3L4cmIBfsICXGvibFb8K4sq29hpjuS22KFXWTRw= Date: Mon, 17 Apr 2017 19:21:00 +0200 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: Re: building packages and creating a central repo Message-ID: <20170417172100.vqspps77wv7m7xro@box-hlm-03.niklaas.eu> Mail-Followup-To: freebsd-questions@freebsd.org References: <3e2eca2f-8ee3-2750-be2c-7ffe2ad2e025@tysdomain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3e2eca2f-8ee3-2750-be2c-7ffe2ad2e025@tysdomain.com> User-Agent: NeoMutt/20161028 (1.7.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2017 17:21:12 -0000 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