aboutsummaryrefslogtreecommitdiff
path: root/pbuilderrc.dot.link
blob: 9f53700026f902a380d955938a567314a9bc334d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# See /usr/share/pbuilder/pbuilderrc for defaults

# Custom hooks
HOOKDIR="$HOME/.config/pbuilder/hooks/"

# Default dist
if [ -z "${DIST}" ]; then
  DIST="sid"
fi

# Default arch
if [ -z "${ARCH}" ]; then
  ARCH="amd64"
fi

# Map distribution option to our env variable
DISTRIBUTION="$DIST"

# Components
COMPONENTS="main contrib non-free"

# Backports
# https://wiki.ubuntu.com/PbuilderHowto#Using_backport_repositories_in_pbuilder
# https://wiki.debian.org/BuildingFormalBackports#Building_multi-dependencies_packages
if [ "$DIST" != "sid" ]; then
  OTHERMIRROR="deb http://http.debian.net/debian/ $DIST-backports $COMPONENTS"
fi

# Multiple pbuilders
# https://wiki.ubuntu.com/PbuilderHowto#Multiple_pbuilders
# https://wiki.debian.org/cowbuilder#Building_your_package_for_many_distributions_at_once
BASEPATH="/var/cache/pbuilder/$DIST-$ARCH/base.cow/"
BUILDRESULT="/var/cache/pbuilder/$DIST-$ARCH/result/"
APTCACHE="/var/cache/pbuilder/$DIST-$ARCH/aptcache/"
BUILDPLACE="/var/cache/pbuilder/build/"