Updates to mirror new repository structure.
[james-home-etc.git] / .pbuilderrc
blob5c6b4dd988eab23a3e1b3f30bcd7fe2238b84474
1 # -*- mode: shell-script; -*-
2 # This pbuilderrc is to build debs for genesis (currenlty xenial based)
3 umask 0022
4 DEBOOTSTRAPOPTS=( '--force-check-gpg' '--no-merged-usr' '--variant=buildd' '--keyring=/usr/share/keyrings/infrastructure-archive-keyring.gpg') 
6 MIRRORSITE=http://lxstrreposa01.lowes.com/canonical
7 COMPONENTS="main restricted universe multiverse"
8 APTKEYRINGS=("/usr/share/keyrings/infrastructure-archive-keyring.gpg")
9 OTHERMIRROR="deb [arch=amd64] http://lxstrreposa01.lowes.com/infrastructure xenial-incoming main"
10 #EXTRAPACKAGES=genesis-archive-keyring
11 ##DIST=xenial-infrastructure
12 #DIST=xenial
13 #DIST=bionic-infrastructure
14 ARCH=amd64
15 NAME="${DIST}"
16 if [ -n "${ARCH}" ]; then
17     NAME="${NAME}-${ARCH}"
18     DEBOOTSTRAPOPTS=("--arch" "${ARCH}" "${DEBOOTSTRAPOPTS[@]}")
21 COMPRESSPROG="xz -8"
22 BASETGZ="/var/cache/pbuilder/base-${NAME}.tar.xz"
23 BASEPATH="/var/cache/pbuilder/base-${NAME}.cow"
24 DISTRIBUTION="${DIST}"
25 ###DISTRIBUTION=xenial-infrastructure
26 BUILDRESULT="/var/cache/pbuilder/${NAME}/result"
27 APTCACHE="/var/cache/pbuilder/${NAME}/aptcache"
28 BUILDPLACE="/var/cache/pbuilder/build/"
29 ALLOWUNTRUSTED=no
30 DEBBUILD_OPTS="-i -b"
31 SIGN=${DEBEMAIL}
32 LOGLEVEL=D
33 USECOLORS=no
34 EXTRAPACKAGES=${EXTRAPACKAGES}${EXTRAPACKAGES:+" "}"eatmydata"
35 EATMYDATA=yes
36 CCACHEDIR=/var/cache/pbuilder/ccache
37 AUTO_DEBSIGN=yes
38 AUTOCLEANAPTCACHE=yes
39 PDEBUILD_PBUILDER=cowbuilder
40 # set hookdir
41 : ${HOOKDIR:="${HOME}/.pbuilder.d"}
42 #USENETWORK=${ENABLE_NETWORKING:=NO}
43 if [ -n "${DEPS}" ]; then
44     export DEPSBASE=/var/cache/pbuilder/deps
45     BINDMOUNTS=${DEPSBASE}