Commit d4641754 by Stéphane Graber

lxc-ubuntu-cloud: Update arm* cross

| 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: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent ad3f14ab
...@@ -235,7 +235,10 @@ fi ...@@ -235,7 +235,10 @@ fi
if [ "$skip_arch_check" = "0" ]; then if [ "$skip_arch_check" = "0" ]; then
case "$hostarch:$arch" in case "$hostarch:$arch" in
$arch:$arch) : ;; # the host == container $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'"; *) echo "cannot create '$arch' container on hostarch '$hostarch'";
exit 1;; exit 1;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment