Set HOME so pbuilder reads .pbuilderrc

This commit is contained in:
Stefano Rivera 2010-12-02 09:30:21 +02:00
parent b2a400fe50
commit 27365f9dd4
2 changed files with 3 additions and 1 deletions

3
debian/changelog vendored
View File

@ -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 <daniel.holbach@ubuntu.com> Tue, 30 Nov 2010 11:55:24 +0100
-- Stefano Rivera <stefanor@ubuntu.com> Thu, 02 Dec 2010 09:29:56 +0200
ubuntu-dev-tools (0.106) experimental; urgency=low

View File

@ -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,