]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-create -t debian fails on ppc64el arch 1193/head
authorThierry Fauck <tfauck@free.fr>
Fri, 16 Sep 2016 13:34:41 +0000 (08:34 -0500)
committerSerge Hallyn <serge@hallyn.com>
Fri, 16 Sep 2016 13:34:41 +0000 (08:34 -0500)
Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le
which doesn't match image repo.

Signed-off-by: Thierry Fauck <tfauck@free.fr>
Signed-off-by: Serge Hallyn <serge@hallyn.com>
templates/lxc-debian.in

index 6420b39c852f4c9665bc13e6e96e504db46006f4..b45180d63016fe6e0e15319d22a2babffc22365c 100644 (file)
@@ -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