1
# The file is automatically picked up by the internal pbuilder call
2
# Just use it to create the cowbuilder with: sudo HOME=. DIST=<wanted_dist> cowbuilder --create --debootstrapopts --variant=buildd
3
# If you need to tweak the base.cow, use: sudo HOME=. DIST=<wanted_dist> cowbuilder --login --save
5
# Optionally set the series to the host series and
6
# architecture to the host architecture if none set.
7
: ${DIST:="$(lsb_release -sc)"}
8
: ${ARCH:="$(dpkg --print-architecture)"}
11
BASETGZ="/var/cache/pbuilder/$NAME-base.tgz"
12
BASEPATH="/var/cache/pbuilder/$NAME/base.cow" # for cowbuilder
14
BUILDRESULT="/var/cache/pbuilder/$NAME/result/"
15
APTCACHE="/var/cache/pbuilder/$NAME/aptcache/"
16
BUILDPLACE="/var/cache/pbuilder/build/"
18
# create the directories if doesn't exist
23
# use ubuntu main mirror only
24
# Ubuntu configuration
25
MIRRORSITE="http://archive.ubuntu.com/ubuntu/"
26
COMPONENTS="main restricted universe multiverse"
30
# EXTRAPACKAGES is not obeyed by 'cowbuilder --create' but running
31
# 'cowbuilder--update' will happily fix that.
32
EXTRAPACKAGES="eatmydata pbuilder bzr bzr-builddeb"
33
export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}/usr/lib/libeatmydata/libeatmydata.so"