Description: When installing a non-native architecture, the template
 installs a bunch of packages of the native architecture to work around
 existing limitations of qemu-user-static, mostly related to netlink.
 .
 The current code would install upstart of the host architecture but
 force the amd64 version of the others. This was just a mistake done
 while testing/developping the code. Fixing now to always install
 the native architecture version of all of them.
Author: Stéphane Graber <stgraber@ubuntu.com>
Origin: vendor
Forwarded: no

--- lxc-0.7.5.orig/templates/lxc-ubuntu.in
+++ lxc-0.7.5/templates/lxc-ubuntu.in
@@ -489,7 +489,7 @@ post_process()
 
         # Finally update the lists and install upstart using the host architecture
         chroot $rootfs apt-get update
-        chroot $rootfs apt-get install --force-yes -y --no-install-recommends upstart:${hostarch} mountall:amd64 iproute:amd64 isc-dhcp-client:amd64
+        chroot $rootfs apt-get install --force-yes -y --no-install-recommends upstart:${hostarch} mountall:${hostarch} iproute:${hostarch} isc-dhcp-client:${hostarch}
     fi
 
     # rmdir /dev/shm in precise containers.
