aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-29 12:36:07 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-08-29 12:36:07 +0000
commitaae336bff9cd7ba1682d1176c582098e7851a420 (patch)
treecfba92ec336d76d1ea0be37766154f853aef7e5b
parentd748e9713cffd9b929d6c7e8135d0fd4a320575c (diff)
downloadpbuilder-aae336bff9cd7ba1682d1176c582098e7851a420.tar
pbuilder-aae336bff9cd7ba1682d1176c582098e7851a420.tar.gz
buildpackage: Unset DISPLAY just before the build, othewise there is software that tries to connect to a X server
LP: #816556
-rwxr-xr-xpbuilder-buildpackage3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 75bfd40..ead9dc9 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -148,6 +148,9 @@ executehooks "A"
DPKG_COMMANDLINE="env PATH=\"$PATH\" dpkg-buildpackage -us -uc $DEBBUILDOPTS"
+# https://launchpad.net/bugs/816556
+unset DISPLAY
+
(
: Build process
if [ -n "$TWICE" ]; then