From 27365f9dd41dec70d3a76bf590720afe3d01780e Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Thu, 2 Dec 2010 09:30:21 +0200 Subject: [PATCH] Set HOME so pbuilder reads .pbuilderrc --- debian/changelog | 3 ++- pbuilder-dist | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e99c8d1..e1bbac5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low * pbuilder-dist: - Refactor to use subprocess.popen instead of os.system (LP: #398974) - Catch OSErrors when creating directories (LP: #671067) + - Set HOME so pbuilder reads .pbuilderrc [ Benjamin Drung ] * wrap-and-sort: Remove duplicate items from sorted lists. @@ -30,7 +31,7 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low * submittodebian: Encourage sending multiple independent pieces of the Ubuntu patch in separate bug reports. - -- Daniel Holbach Tue, 30 Nov 2010 11:55:24 +0100 + -- Stefano Rivera Thu, 02 Dec 2010 09:29:56 +0200 ubuntu-dev-tools (0.106) experimental; urgency=low diff --git a/pbuilder-dist b/pbuilder-dist index 2ca9446..eba60dc 100755 --- a/pbuilder-dist +++ b/pbuilder-dist @@ -262,6 +262,7 @@ class pbuilder_dist: # environment so that it is accessible to ~/.pbuilderrc (LP: #628933). return [ self.auth, + 'HOME=' + os.path.expanduser('~'), 'ARCH=' + self.build_architecture, 'DIST=' + self.target_distro, self.builder,