DEB build scripts: improved support for pbuilder and fixed problem with apt-ftparchive in hook scripts.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/3/head
parent
4da401f0e8
commit
6821bf1de1
@ -0,0 +1,59 @@
|
||||
# this is your configuration file for pbuilder.
|
||||
# the file in /usr/share/pbuilder/pbuilderrc is the default template.
|
||||
# /etc/pbuilderrc is the one meant for editing.
|
||||
#
|
||||
# read pbuilderrc.5 document for notes on specific options.
|
||||
|
||||
BASETGZ=/var/cache/pbuilder/base.tgz
|
||||
BUILDPLACE=/var/cache/pbuilder/build/
|
||||
OTHERMIRROR="deb [trusted=yes] file:///var/cache/pbuilder/repo ./"
|
||||
USEPROC=yes
|
||||
USEDEVPTS=yes
|
||||
USEDEVFS=no
|
||||
BUILDRESULT=/var/cache/pbuilder/result/
|
||||
|
||||
HOOKDIR="/usr/lib/pbuilder/hooks"
|
||||
# make debconf not interact with user
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
DEBEMAIL=""
|
||||
# for pbuilder debuild (sudo -E keeps the environment as-is)
|
||||
BUILDSOURCEROOTCMD="fakeroot"
|
||||
PBUILDERROOTCMD="sudo -E"
|
||||
|
||||
# command to satisfy build-dependencies; the default is an internal shell
|
||||
# implementation which is relatively slow; there are two alternate
|
||||
# implementations, the "experimental" implementation,
|
||||
# "pbuilder-satisfydepends-experimental", which might be useful to pull
|
||||
# packages from experimental or from repositories with a low APT Pin Priority,
|
||||
# and the "aptitude" implementation, which will resolve build-dependencies and
|
||||
# build-conflicts with aptitude which helps dealing with complex cases but does
|
||||
# not support unsigned APT repositories
|
||||
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends"
|
||||
|
||||
#Command-line option passed on to dpkg-buildpackage.
|
||||
DEBBUILDOPTS=""
|
||||
|
||||
#APT configuration files directory
|
||||
APTCONFDIR=""
|
||||
# the username and ID used by pbuilder, inside chroot. Needs fakeroot, really
|
||||
BUILDUSERID=1234
|
||||
BUILDUSERNAME=pbuilder
|
||||
|
||||
# BINDMOUNTS is a space separated list of things to mount
|
||||
# inside the chroot.
|
||||
BINDMOUNTS="/var/cache/pbuilder/repo"
|
||||
|
||||
# Set the debootstrap variant to 'buildd' type.
|
||||
DEBOOTSTRAPOPTS[0]='--variant=buildd'
|
||||
|
||||
# Set the PATH I am going to use inside pbuilder: default is "/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
|
||||
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
|
||||
|
||||
# SHELL variable is used inside pbuilder by commands like 'su'; and they need sane values
|
||||
export SHELL=/bin/bash
|
||||
|
||||
# The name of debootstrap command.
|
||||
DEBOOTSTRAP="debootstrap"
|
||||
|
||||
# default PKGNAME_LOGFILE
|
||||
PKGNAME_LOGFILE="__build__.log"
|
Loading…
Reference in new issue