Changes between Version 12 and Version 13 of doc/TorBrowser/VMSetup


Ignore:
Timestamp:
May 9, 2014, 5:21:44 PM (5 years ago)
Author:
michael
Comment:

Consider using chroot(8) to meet the requirements of a build environment.

Legend:

Unmodified
Added
Removed
Modified
  • doc/TorBrowser/VMSetup

    v12 v13  
    1414
    1515Building in bare metal development environments benefits from slightly (maybe 15%-20%) better performance and thus decreases build durations.
     16
     17== How about using a chroot(8) instead? ==
     18
     19Installing the build environment to a chroot(8) could provide some important advantages like leveraging seamless storage and memory between the host and jailed client to meet the build environment's requirements. Unfortunately this solution requires LXC (just like a virtual machine) but even worse, chrooted jails share the networking configuration of their hosts, requiring extra networking steps (like configuring a lxcbr0 bridge) to be carried out. It's probably possible to fulfill these requirements manually (configuring both from outside of and within the chrooted jail), but this is certainly not as straightforward as native or virtualized building.
     20
     21{{{
     22tor-browser-bundle/gitian$ USE_LXC=1 make build
     23Extracting partition for lxc
     24Must configure lxcbr0 - check the README
     25i386 lucid VM creation failed
     26make: *** [build] Error 1
     27}}}
    1628
    1729= Host Requirements =