Building ports in a chrooted tree

Kris Kennaway kris at obsecurity.org
Tue Apr 22 10:31:48 PDT 2003


On Tue, Apr 22, 2003 at 11:58:39AM -0400, Mike Patterson wrote:
> I'm interested in creating a clean build environment for ports,
> something like the one used on bento.  (See last paragraph for my
> reasons, and feel free to let me know if I've apparently been smoking
> substances of doubtful legality.)
> 
> I've had a look through the porters handbook and it doesn't seem very
> clear the best way to go about this.  Looking at bento, I found the two
> tarballs it uses to create a chrooted environment, except the problem is
> they appear to be for 4-stable or 5-current: my machine is RELENG_5_0.

Copying bento is probably overkill..most of the stuff it does is not
necessary for "personal use".  The way I would do this is to set up a
jail (see jail(8)) and just do port builds as normal inside the jail.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030422/4f4f5c5d/attachment.bin


More information about the freebsd-ports mailing list