mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
pbuilder-dist: Allow architecture-switching to armel on i386/amd64
This commit is contained in:
parent
dbfbeea256
commit
5120e41e6a
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -7,6 +7,7 @@ ubuntu-dev-tools (0.92) UNRELEASED; urgency=low
|
||||
[ Emmet Hikory ]
|
||||
* mk-sbuild-lv: support foreign armel schroots
|
||||
* mk-sbuild-lv: use --arch=foo rather than --arch foo for debootstrap
|
||||
* pbuilder-dist: Allow architecture-switching to armel on i386/amd64
|
||||
* debian/control: add qemu-arm-static to Recommends:
|
||||
|
||||
[ Michael Bienia ]
|
||||
|
@ -314,6 +314,8 @@ def main():
|
||||
if requested_arch:
|
||||
if requested_arch in ('i386', 'amd64') and app.system_architecture == 'amd64':
|
||||
app.build_architecture = requested_arch
|
||||
else if requested_arch == 'armel' and app.system_architecture in ('i386', 'amd64'):
|
||||
app.build_architecture = requested_arch
|
||||
else:
|
||||
print 'Error: Architecture switching is not supported on your system; wrong filename.'
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user