mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-08 15:31:29 +00:00
pbuilder-dist: Use the same chroot, whether the system-architecture was
the supplied architecture or was chosen by default (LP: #943435)
This commit is contained in:
parent
0eb6010448
commit
346aae9d42
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -2,6 +2,8 @@ ubuntu-dev-tools (0.140) UNRELEASED; urgency=low
|
|||||||
|
|
||||||
* Bump Standards-Version to 3.9.3, no changes needed.
|
* Bump Standards-Version to 3.9.3, no changes needed.
|
||||||
* Update machine-readable copyright Format to 1.0.
|
* 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 <stefanor@debian.org> Sat, 25 Feb 2012 16:09:53 +0200
|
-- Stefano Rivera <stefanor@debian.org> Sat, 25 Feb 2012 16:09:53 +0200
|
||||||
|
|
||||||
|
@ -187,8 +187,10 @@ class PbuilderDist:
|
|||||||
and return it as a string.
|
and return it as a string.
|
||||||
"""
|
"""
|
||||||
if not self.build_architecture:
|
if not self.build_architecture:
|
||||||
self.chroot_string = self.target_distro
|
|
||||||
self.build_architecture = self.system_architecture
|
self.build_architecture = self.system_architecture
|
||||||
|
|
||||||
|
if self.build_architecture == self.system_architecture:
|
||||||
|
self.chroot_string = self.target_distro
|
||||||
else:
|
else:
|
||||||
self.chroot_string = (self.target_distro + '-'
|
self.chroot_string = (self.target_distro + '-'
|
||||||
+ self.build_architecture)
|
+ self.build_architecture)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user