|
|
7c384c2 |
# pbuilder defaults; edit /etc/pbuilderrc to override these and see
|
|
|
7c384c2 |
# pbuilderrc.5 for documentation
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Set how much output you want from pbuilder, valid values are
|
|
|
7c384c2 |
# E => errors only
|
|
|
7c384c2 |
# W => errors and warnings
|
|
|
7c384c2 |
# I => errors, warnings and informational
|
|
|
7c384c2 |
# D => all of the above and debug messages
|
|
|
7c384c2 |
LOGLEVEL=I
|
|
|
7c384c2 |
# if positive, some log messagges (errors, warnings, debugs) will be colored
|
|
|
7c384c2 |
# auto => try automatically detection
|
|
|
7c384c2 |
# yes => always use colors
|
|
|
7c384c2 |
# no => never use colors
|
|
|
7c384c2 |
USECOLORS=auto
|
|
|
7c384c2 |
|
|
|
7c384c2 |
BASETGZ=/var/cache/pbuilder/base.tgz
|
|
|
7c384c2 |
#EXTRAPACKAGES=""
|
|
|
7c384c2 |
#export DEBIAN_BUILDARCH=athlon
|
|
|
7c384c2 |
BUILDPLACE=/var/cache/pbuilder/build
|
|
|
7c384c2 |
# directory inside the chroot where the build happens. See #789404
|
|
|
7c384c2 |
BUILDDIR=/build
|
|
|
7c384c2 |
# what be used as value for HOME during builds. See #441052
|
|
|
7c384c2 |
# The default value prevents builds to write on HOME, which is prevented on
|
|
|
7c384c2 |
# Debian buildds too. You can set it to $BUILDDIR to get a working HOME, if
|
|
|
7c384c2 |
# you need to.
|
|
|
7c384c2 |
BUILD_HOME=/nonexistent
|
|
|
7c384c2 |
MIRRORSITE=http://deb.debian.org/debian
|
|
|
7c384c2 |
#OTHERMIRROR="deb http://www.home.com/updates/ ./"
|
|
|
7c384c2 |
#export http_proxy=http://your-proxy:8080/
|
|
|
7c384c2 |
USESHM=yes
|
|
|
7c384c2 |
USEPROC=yes
|
|
|
7c384c2 |
USEDEVFS=no
|
|
|
7c384c2 |
USEDEVPTS=yes
|
|
|
7c384c2 |
USESYSFS=yes
|
|
|
7c384c2 |
USENETWORK=no
|
|
|
7c384c2 |
USECGROUP=yes
|
|
|
7c384c2 |
BUILDRESULT=/var/cache/pbuilder/result/
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# specifying the distribution forces the distribution on "pbuilder update"
|
|
|
7c384c2 |
#DISTRIBUTION=sid
|
|
|
7c384c2 |
# specifying the architecture passes --arch= to debootstrap; the default is
|
|
|
7c384c2 |
# to use the architecture of the host
|
|
|
7c384c2 |
#ARCHITECTURE=$(dpkg --print-architecture)
|
|
|
7c384c2 |
# specifying the components of the distribution, for instance to enable all
|
|
|
7c384c2 |
# components on Debian use "main contrib non-free" and on Ubuntu "main
|
|
|
7c384c2 |
# restricted universe multiverse"
|
|
|
7c384c2 |
COMPONENTS="main"
|
|
|
7c384c2 |
#specify the cache for APT
|
|
|
7c384c2 |
APTCACHE="/var/cache/pbuilder/aptcache/"
|
|
|
7c384c2 |
APTCACHEHARDLINK="yes"
|
|
|
7c384c2 |
REMOVEPACKAGES=""
|
|
|
7c384c2 |
#HOOKDIR="/usr/lib/pbuilder/hooks"
|
|
|
7c384c2 |
HOOKDIR=""
|
|
|
7c384c2 |
EATMYDATA=no
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# make debconf not interact with user
|
|
|
7c384c2 |
export DEBIAN_FRONTEND="noninteractive"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
#for pbuilder debuild
|
|
|
7c384c2 |
BUILDSOURCEROOTCMD="fakeroot"
|
|
|
7c384c2 |
PBUILDERROOTCMD="sudo -E"
|
|
|
7c384c2 |
# use cowbuilder for pdebuild
|
|
|
7c384c2 |
#PDEBUILD_PBUILDER="cowbuilder"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Whether to generate an additional .changes file for a source-only upload,
|
|
|
7c384c2 |
# whilst still producing a full .changes file for any binary packages built.
|
|
|
7c384c2 |
SOURCE_ONLY_CHANGES=yes
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# additional build results to copy out of the package build area
|
|
|
7c384c2 |
#ADDITIONAL_BUILDRESULTS=(xunit.xml .coverage)
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# command to satisfy build-dependencies; the default is an internal shell
|
|
|
7c384c2 |
# implementation which is relatively slow; there are two alternate
|
|
|
7c384c2 |
# implementations, the "experimental" implementation,
|
|
|
7c384c2 |
# "pbuilder-satisfydepends-experimental", which might be useful to pull
|
|
|
7c384c2 |
# packages from experimental or from repositories with a low APT Pin Priority,
|
|
|
7c384c2 |
# and the "aptitude" implementation, which will resolve build-dependencies and
|
|
|
7c384c2 |
# build-conflicts with aptitude which helps dealing with complex cases but does
|
|
|
7c384c2 |
# not support unsigned APT repositories
|
|
|
7c384c2 |
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
|
|
|
7c384c2 |
#PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Arguments for $PBUILDERSATISFYDEPENDSCMD.
|
|
|
7c384c2 |
# PBUILDERSATISFYDEPENDSOPT=()
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# You can optionally make pbuilder accept untrusted repositories by setting
|
|
|
7c384c2 |
# this option to yes, but this may allow remote attackers to compromise the
|
|
|
7c384c2 |
# system. Better set a valid key for the signed (local) repository with
|
|
|
7c384c2 |
# $APTKEYRINGS (see below).
|
|
|
7c384c2 |
ALLOWUNTRUSTED=no
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Option to pass to apt-get always.
|
|
|
7c384c2 |
export APTGETOPT=()
|
|
|
7c384c2 |
# Option to pass to aptitude always.
|
|
|
7c384c2 |
export APTITUDEOPT=()
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Whether to use debdelta or not. If "yes" debdelta will be installed in the
|
|
|
7c384c2 |
# chroot
|
|
|
7c384c2 |
DEBDELTA=no
|
|
|
7c384c2 |
|
|
|
7c384c2 |
#Command-line option passed on to dpkg-buildpackage.
|
|
|
7c384c2 |
#DEBBUILDOPTS="-IXXX -iXXX"
|
|
|
7c384c2 |
DEBBUILDOPTS="${DEBBUILDOPTS}"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
#APT configuration files directory
|
|
|
7c384c2 |
APTCONFDIR=""
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# the username and ID used by pbuilder, inside chroot. Needs fakeroot, really
|
|
|
7c384c2 |
BUILDUSERNAME=pbuilder
|
|
|
7c384c2 |
BUILDUSERID=$(grep $BUILDUSERNAME /etc/passwd | cut -d: -f3)
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# BINDMOUNTS is a space separated list of things to mount
|
|
|
7c384c2 |
# inside the chroot.
|
|
|
7c384c2 |
BINDMOUNTS=""
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Set the debootstrap variant to 'buildd' type.
|
|
|
7c384c2 |
DEBOOTSTRAPOPTS=(
|
|
|
7c384c2 |
'--variant=buildd'
|
|
|
7c384c2 |
'--force-check-gpg'
|
|
|
7c384c2 |
)
|
|
|
7c384c2 |
# or unset it to make it not a buildd type.
|
|
|
7c384c2 |
# unset DEBOOTSTRAPOPTS
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Keyrings to use for package verification with apt, not used for debootstrap
|
|
|
7c384c2 |
# (use DEBOOTSTRAPOPTS). By default the debian-archive-keyring package inside
|
|
|
7c384c2 |
# the chroot is used.
|
|
|
7c384c2 |
APTKEYRINGS=()
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# Set the PATH I am going to use inside pbuilder: default is "/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
7c384c2 |
export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# SHELL variable is used inside pbuilder by commands like 'su'; and they need sane values
|
|
|
7c384c2 |
export SHELL=/bin/bash
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# The name of debootstrap command, you might want "cdebootstrap".
|
|
|
7c384c2 |
DEBOOTSTRAP="debootstrap"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# default file extension for pkgname-logfile
|
|
|
7c384c2 |
PKGNAME_LOGFILE_EXTENSION="_$(dpkg --print-architecture).build"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# default PKGNAME_LOGFILE
|
|
|
7c384c2 |
PKGNAME_LOGFILE=""
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# default AUTOCLEANAPTCACHE
|
|
|
7c384c2 |
AUTOCLEANAPTCACHE=""
|
|
|
7c384c2 |
|
|
|
7c384c2 |
#default COMPRESSPROG
|
|
|
7c384c2 |
COMPRESSPROG="gzip"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# pbuilder copies some configuration files (like /etc/hosts or /etc/hostname)
|
|
|
7c384c2 |
# from the host system into the chroot. If the directory specified here
|
|
|
7c384c2 |
# exists and contains one of the copied files (without the leading /etc) that
|
|
|
7c384c2 |
# file will be copied from here instead of the system one
|
|
|
7c384c2 |
CONFDIR="/etc/pbuilder/conf_files"
|
|
|
7c384c2 |
|
|
|
7c384c2 |
# ccache (make sure ccache is installed before uncommenting)
|
|
|
7c384c2 |
CCACHEDIR=""
|
|
|
7c384c2 |
# Note: CCACHEDIR is private to pbuilder, ccache uses "CCACHE_DIR"
|
|
|
7c384c2 |
#CCACHEDIR="/var/cache/pbuilder/ccache"
|
|
|
7c384c2 |
#export CCACHE_DIR="${CCACHEDIR}"
|
|
|
7c384c2 |
#export PATH="/usr/lib/ccache:${PATH}"
|
|
|
7c384c2 |
#EXTRAPACKAGES=ccache
|
|
|
7c384c2 |
#BINDMOUNTS="${BINDMOUNTS} ${CCACHE_DIR}"
|