diff options
author | Michele Calgaro <[email protected]> | 2018-03-12 00:08:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-05-28 14:46:58 +0900 |
commit | 6821bf1de1e0a6b9e8c58c579642e20346cdbcc5 (patch) | |
tree | 77d5942251272421f0594083f4fe2cd0b2f760d2 /debian/_buildscripts/local/scripts/additional files/etc/pbuilderrc | |
parent | 4da401f0e8154dcb3e4afdd7c02f7288fa1e0ec5 (diff) | |
download | tde-packaging-6821bf1de1e0a6b9e8c58c579642e20346cdbcc5.tar.gz tde-packaging-6821bf1de1e0a6b9e8c58c579642e20346cdbcc5.zip |
DEB build scripts: improved support for pbuilder and fixed problem with apt-ftparchive in hook scripts.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/_buildscripts/local/scripts/additional files/etc/pbuilderrc')
-rw-r--r-- | debian/_buildscripts/local/scripts/additional files/etc/pbuilderrc | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/scripts/additional files/etc/pbuilderrc b/debian/_buildscripts/local/scripts/additional files/etc/pbuilderrc new file mode 100644 index 000000000..467a29ad1 --- /dev/null +++ b/debian/_buildscripts/local/scripts/additional files/etc/pbuilderrc @@ -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" |