aboutsummaryrefslogtreecommitdiff
path: root/pbuilderrc
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-09-18 18:52:00 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-09-18 18:52:52 +0000
commit7100e42128e4272ec7604cad4554866943556214 (patch)
tree3f00a65ce4cde12d10d18042e6aa820b6694615d /pbuilderrc
parent65d723234bf5dcd99f083ab4d5087b75ded2cfa6 (diff)
downloadpbuilder-7100e42128e4272ec7604cad4554866943556214.tar
pbuilder-7100e42128e4272ec7604cad4554866943556214.tar.gz
Allow copying the local configuration from a defined directory, instead of system /etc.
New configuration variable: CONFDIR Closes: #580086
Diffstat (limited to 'pbuilderrc')
-rw-r--r--pbuilderrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbuilderrc b/pbuilderrc
index 08eeefc..7885665 100644
--- a/pbuilderrc
+++ b/pbuilderrc
@@ -122,3 +122,9 @@ AUTOCLEANAPTCACHE=""
#default COMPRESSPROG
COMPRESSPROG="gzip"
+
+# pbuilder copies some configuration files (like /etc/hosts or /etc/hostname)
+# from the host system into the chroot. If the directory specified here
+# exists and contains one of the copied files (without the leading /etc) that
+# file will be copied from here instead of the system one
+CONFDIR="/etc/pbuilder/conf_files"