diff --git a/debian/changelog b/debian/changelog index 5244930..98bb4a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ ubuntu-dev-tools (0.140) UNRELEASED; urgency=low * Bump Standards-Version to 3.9.3, no changes needed. * Update machine-readable copyright Format to 1.0. + * pbuilder-dist: Use the same chroot, whether the system-architecture was + the supplied architecture or was chosen by default (LP: #943435) -- Stefano Rivera Sat, 25 Feb 2012 16:09:53 +0200 diff --git a/pbuilder-dist b/pbuilder-dist index 137c7f7..acf0578 100755 --- a/pbuilder-dist +++ b/pbuilder-dist @@ -187,8 +187,10 @@ class PbuilderDist: and return it as a string. """ if not self.build_architecture: - self.chroot_string = self.target_distro self.build_architecture = self.system_architecture + + if self.build_architecture == self.system_architecture: + self.chroot_string = self.target_distro else: self.chroot_string = (self.target_distro + '-' + self.build_architecture)