From: Thierry Fauck Date: Fri, 16 Sep 2016 13:34:41 +0000 (-0500) Subject: lxc-create -t debian fails on ppc64el arch X-Git-Tag: lxc-2.1.0~323^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1193%2Fhead;p=thirdparty%2Flxc.git 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: Thierry Fauck Signed-off-by: Serge Hallyn --- diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index 6420b39c8..b45180d63 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -654,6 +654,8 @@ elif [ "$arch" = "x86_64" ]; then arch="amd64" elif [ "$arch" = "armv7l" ]; then arch="armhf" +elif [ "$arch" = "ppc64le" ]; then + arch="ppc64el" elif [ "$arch" = "mips" -a "$littleendian" = "yes" ]; then arch="mipsel" elif [ "$arch" = "mips64" -a "$littleendian" = "yes" ]; then