mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-08 15:31:29 +00:00
pbuilder-dist: use --arch=foo rather than --arch foo for debootstrap
This commit is contained in:
parent
54b102a92d
commit
384cba2e19
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -8,6 +8,7 @@ ubuntu-dev-tools (0.92) UNRELEASED; urgency=low
|
|||||||
* mk-sbuild-lv: support foreign armel schroots
|
* mk-sbuild-lv: support foreign armel schroots
|
||||||
* mk-sbuild-lv: use --arch=foo rather than --arch foo for debootstrap
|
* mk-sbuild-lv: use --arch=foo rather than --arch foo for debootstrap
|
||||||
* pbuilder-dist: Allow architecture-switching to armel on i386/amd64
|
* pbuilder-dist: Allow architecture-switching to armel on i386/amd64
|
||||||
|
* pbuilder-dist: use --arch=foo rather than --arch foo for debootstrap
|
||||||
* docs/pbuilder-dist.1: Document architecture-switching for armel
|
* docs/pbuilder-dist.1: Document architecture-switching for armel
|
||||||
* debian/control: add qemu-arm-static to Recommends:
|
* debian/control: add qemu-arm-static to Recommends:
|
||||||
|
|
||||||
|
@ -227,8 +227,7 @@ class pbuilder_dist:
|
|||||||
arguments.append('--components "%s"' % components)
|
arguments.append('--components "%s"' % components)
|
||||||
|
|
||||||
if self.build_architecture != self.system_architecture:
|
if self.build_architecture != self.system_architecture:
|
||||||
arguments.append('--debootstrapopts --arch')
|
arguments.append('--debootstrapopts --arch="%(build_architecture)s"' % self)
|
||||||
arguments.append('--debootstrapopts "%(build_architecture)s"' % self)
|
|
||||||
|
|
||||||
apt_conf_dir = os.path.join(self.base, 'etc/%(target_distro)s/apt.conf' % self)
|
apt_conf_dir = os.path.join(self.base, 'etc/%(target_distro)s/apt.conf' % self)
|
||||||
if os.path.exists(apt_conf_dir):
|
if os.path.exists(apt_conf_dir):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user