summaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-01-11 21:36:22 +0100
committerGuido Günther <agx@sigxcpu.org>2012-01-11 21:48:34 +0100
commitcd410237326ccaf8250908ace65db01f47355170 (patch)
tree1e94702425f0b5c957776c824db06295cbd80ec4 /gbp/config.py
parent2d84986794d7edaaaca53d3e24390429a1bd327b (diff)
downloadgit-buildpackage-cd410237326ccaf8250908ace65db01f47355170.tar.gz
git-buildpackage-cd410237326ccaf8250908ace65db01f47355170.tar.bz2
git-buildpackage-cd410237326ccaf8250908ace65db01f47355170.zip
buildpackage: Allow to pass pbuilder options
via commandline or gbp.conf
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 030f1164..5c2a2d90 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -125,6 +125,7 @@ class GbpOptionParser(OptionParser):
'submodules' : 'False',
'time-machine' : 1,
'pbuilder-autoconf' : 'True',
+ 'pbuilder-options': ''
}
help = {
'debian-branch':
@@ -203,6 +204,8 @@ class GbpOptionParser(OptionParser):
"don't try head commit only to apply the patch queue but look TIME_MACHINE commits back",
'pbuilder-autoconf':
"Wheter to configure pbuilder automatically.",
+ 'pbuilder-options':
+ "Options to pass to pbuilder, default is '%(pbuilder-options)s'",
}
config_files = [ '/etc/git-buildpackage/gbp.conf',
os.path.expanduser('~/.gbp.conf'),