Commit 2658578e by Thierry Fauck Committed by Stéphane Graber

lxc-create -t debian fails on ppc64el arch

Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le which doesn't match image repo. Signed-off-by: 's avatarThierry Fauck <tfauck@free.fr> Signed-off-by: 's avatarSerge Hallyn <serge@hallyn.com>
parent 0725879b
...@@ -550,6 +550,8 @@ elif [ "$arch" = "x86_64" ]; then ...@@ -550,6 +550,8 @@ elif [ "$arch" = "x86_64" ]; then
arch="amd64" arch="amd64"
elif [ "$arch" = "armv7l" ]; then elif [ "$arch" = "armv7l" ]; then
arch="armhf" arch="armhf"
elif [ "$arch" = "ppc64le" ]; then
arch="ppc64el"
elif [ "$arch" = "mips" -a "$littleendian" = "yes" ]; then elif [ "$arch" = "mips" -a "$littleendian" = "yes" ]; then
arch="mipsel" arch="mipsel"
elif [ "$arch" = "mips64" -a "$littleendian" = "yes" ]; then elif [ "$arch" = "mips64" -a "$littleendian" = "yes" ]; then
......
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