The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1193

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le
which doesn't match image repo.

Signed-off-by: Thierry Fauck <tfa...@free.fr>
Signed-off-by: Serge Hallyn <se...@hallyn.com>
From bfbf793616ce36ec63bac2cf582474c14cecb712 Mon Sep 17 00:00:00 2001
From: Thierry Fauck <tfa...@free.fr>
Date: Fri, 16 Sep 2016 08:34:41 -0500
Subject: [PATCH] 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 <tfa...@free.fr>
Signed-off-by: Serge Hallyn <se...@hallyn.com>
---
 templates/lxc-debian.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index 6420b39..b45180d 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
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to