1 # -*- mode: shell-script; -*-
2 # This pbuilderrc is to build debs for genesis (currenlty xenial based)
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
13 #DIST=bionic-infrastructure
16 if [ -n "${ARCH}" ]; then
17 NAME="${NAME}-${ARCH}"
18 DEBOOTSTRAPOPTS=("--arch" "${ARCH}" "${DEBOOTSTRAPOPTS[@]}")
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/"
34 EXTRAPACKAGES=${EXTRAPACKAGES}${EXTRAPACKAGES:+" "}"eatmydata"
36 CCACHEDIR=/var/cache/pbuilder/ccache
39 PDEBUILD_PBUILDER=cowbuilder
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}