From 150809907357ef70dc710e8ff3d12637db661e86 Mon Sep 17 00:00:00 2001 From: Thiago Brito Date: Mon, 24 Jan 2022 14:44:07 -0300 Subject: [PATCH] Setting PYTHON3=no for LOCI images Recently, LOCI changed its default so images are python3 if nothing is specified at the *docker_image files. With the recent upversion of LOCI in the build tools [1], we need to explictly set PYTHON3=no to images that are still using python2. This commit fixes the StarlingX images to use this parameter TEST PLAN PASS build the stx-pci-irq-affinity-agent on the stable branch [1] https://opendev.org/starlingx/root/commit/00bd632a68b8172f5d4baec2b1e4f8a08b9d5be5 Closes-Bug: #1958696 Signed-off-by: Thiago Brito Change-Id: I9faae4ae3fa52b42e0a7392a793296d912507f8e --- .../centos/pci-irq-affinity.dev_docker_image | 1 + .../centos/pci-irq-affinity.stable_docker_image | 1 + 2 files changed, 2 insertions(+) diff --git a/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.dev_docker_image b/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.dev_docker_image index 0d762b81..b490ec8a 100644 --- a/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.dev_docker_image +++ b/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.dev_docker_image @@ -21,3 +21,4 @@ PIP_PACKAGES="pci-irq-affinity-agent \ python-novaclient \ retrying \ psutil" +PYTHON3=no diff --git a/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.stable_docker_image b/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.stable_docker_image index 0d762b81..b490ec8a 100644 --- a/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.stable_docker_image +++ b/utilities/pci-irq-affinity-agent/centos/pci-irq-affinity.stable_docker_image @@ -21,3 +21,4 @@ PIP_PACKAGES="pci-irq-affinity-agent \ python-novaclient \ retrying \ psutil" +PYTHON3=no