From 1c1ce75080effe12800dd7d5ea91b39fe4692610 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Fri, 3 Jan 2014 18:10:46 +0100 Subject: [PATCH] Only pass --override-config to pbuilder on sqeeze (for now). --- lib/pbuilder.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/pbuilder.py b/lib/pbuilder.py index 70fa87d..86945c0 100644 --- a/lib/pbuilder.py +++ b/lib/pbuilder.py @@ -51,11 +51,14 @@ class Pbuilder(object): BIN_PBUILDER, '--build', '--buildresult', '../build-area/result/', - '--override-config', '--debbuildopts', '-b', # don't build source packages... # see directly below - self.dsc_file, ] + # FIXME: Fix .pbuilderrc to also generate correct sources list on + # wheezy and then always use --override-config. + if self.dist == "squeeze": + result.append('--override-config') + result.append(self.dsc_file) return result def build(self): -- 2.39.5