Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
__init__.py
apt.py
buildclient.py
crossdebian.py
debianclient.py
git.py
sbuild-cross.sh
sbuild-orig.sh
subversion.py

README

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
Something went wrong with that request. Please try again.