From d46417540f61ffb93344f3d338340588bf118ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 31 Jan 2014 09:34:03 +0000 Subject: [PATCH] lxc-ubuntu-cloud: Update arm* cross MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit | host arch | arm64 | armhf | armel | ------------------------------------- | arm64 | X | X | X | | armhf | | X | X | | armel | | X | X | ------------------------------------- Although optional, all existing arm64 silicon supports 32bit instructions. armel/armhf is only a userspace change, so they are interchangeable. However armhf isn't supported on all armel platforms (e.g. armv6) but all those we support have hard-float. Signed-off-by: Stéphane Graber --- templates/lxc-ubuntu-cloud.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in index e19d05b34..c0566e84d 100644 --- a/templates/lxc-ubuntu-cloud.in +++ b/templates/lxc-ubuntu-cloud.in @@ -235,7 +235,10 @@ fi if [ "$skip_arch_check" = "0" ]; then case "$hostarch:$arch" in $arch:$arch) : ;; # the host == container - amd64:i386|arm*:arm*) :;; # supported "cross" + amd64:i386) :;; # supported "cross" + arm64:arm*) :;; # supported "cross" + armel:armhf) :;; # supported "cross" + armhf:armel) :;; # supported "cross" *) echo "cannot create '$arch' container on hostarch '$hostarch'"; exit 1;; esac