Creating new build environments

mkdir /mnt/pybit
lvcreate -n schroot-pybit -L1G buildd
mke2fs -j /dev/buildd/schroot-pybit
mount /dev/buildbox/schroot-pybit /mnt
debootstrap --include=sudo,fakeroot,build-essential,debfoster,apt,vim --variant=buildd --arch=i386 --keyring=/etc/apt/trusted.gpg wheezy /mnt /pybit http://mirror/debian
umount /mnt/pybit

Under /etc/schroot/chroot.d/ :

[squeeze]
type=lvm-snapshot
device=/dev/buildd/schroot-wheezy
description=Debian Wheezy
priority=5
users=buildd,sbuild
root-users=buildd
source-root-users=root,buildd
aliases=stable,development,default
lvm-snapshot-options=--size 2G

Edit LVM chroot sourced packages with schroot -c wheezy-source:
 # schroot -c wheezy-source
 (sid)# echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/50recommends
 (sid)# apt-get install build-essential pbuilder devscripts fakeroot
 (sid)# apt-get clean
