pbuilder-dist: Export DISTRIBUTION and ARCHITECTURE as well as DIST and

ARCH. (Closes: #659060, LP: #423609)
This commit is contained in:
Stefano Rivera 2012-02-08 01:05:15 +02:00
parent 4e8e44a788
commit 0713ff4f94
2 changed files with 5 additions and 0 deletions

2
debian/changelog vendored
View File

@ -5,6 +5,8 @@ ubuntu-dev-tools (0.139) UNRELEASED; urgency=low
* sponsor-patch: Determine the task from the UDD branch.
* Re-add dgetlp. Still needed for downloading source packages from +queue.
(LP: #919805)
* pbuilder-dist: Export DISTRIBUTION and ARCHITECTURE as well as DIST and
ARCH. (Closes: #659060, LP: #423609)
-- Stefano Rivera <stefanor@debian.org> Fri, 23 Dec 2011 22:33:17 +0200

View File

@ -340,11 +340,14 @@ class PbuilderDist:
# Export the distribution and architecture information to the
# environment so that it is accessible to ~/.pbuilderrc (LP: #628933).
# With both common variable name schemes (BTS: #659060).
return [
self.auth,
'HOME=' + os.path.expanduser('~'),
'ARCHITECTURE=' + self.build_architecture,
'DISTRIBUTION=' + self.target_distro,
'ARCH=' + self.build_architecture,
'DIST=' + self.target_distro,
self.builder,
] + arguments