Chroot build environment
From Armagetron
Working on this as I build a new virtual machine for semi-automated Linux and Windows builds.
Chroot
Our "weekly" builds are done in a virtual machine with a chroot prison for 32 and 64 bit builds and wine for the Windows build. Here I document step by step how to set one up. I write this as I go, so it is incomplete.
Base system
Install Ubuntu Trusty in a virtual machine. Straightforward :) Pick LVM in the setup options so you can resize partitions later.
Install bzr and (optinal, I use it for remote access) ssh:
sudo apt-get update sudo apt-get install bzr ssh