Setting up the build environment in a chroot