From 828209713d718ba7efe84c0eaf953fe14f9ec614 Mon Sep 17 00:00:00 2001 From: Michael Turek Date: Mon, 18 Mar 2019 18:27:52 +0000 Subject: [PATCH] Properly set debian_arch for ppc64el hardware On Red Hat distros, ppc64el is referred to as ppc64le. This patch simply sets debian_arch to ppc64el if the base arch comes up as ppc64le. Change-Id: Idb9b30f792db11bea9b7d96025bd20a03fabc78a --- kolla/image/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kolla/image/build.py b/kolla/image/build.py index 7c85f8cdce..373ba63e88 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -684,6 +684,8 @@ class KollaWorker(object): self.debian_arch = 'arm64' elif self.base_arch == 'x86_64': self.debian_arch = 'amd64' + elif self.base_arch == 'ppc64le': + self.debian_arch = 'ppc64el' self.images = list() rpm_setup_config = ([repo_file for repo_file in conf.rpm_setup_config if repo_file is not None])