From e0fba90bdfcae3e613922c6b45cc0eeacd71d7d7 Mon Sep 17 00:00:00 2001 From: Thiago Brito Date: Mon, 24 Jan 2022 14:54:47 -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-fm-rest-api image on the stable branch [1] https://opendev.org/starlingx/root/commit/00bd632a68b8172f5d4baec2b1e4f8a08b9d5be5 Closes-Bug: #1958696 Signed-off-by: Thiago Brito Change-Id: Icc80f5ca3f2031537e45ab8ff35420250522cb34 --- fm-rest-api/centos/stx-fm-rest-api.stable_docker_image | 1 + 1 file changed, 1 insertion(+) diff --git a/fm-rest-api/centos/stx-fm-rest-api.stable_docker_image b/fm-rest-api/centos/stx-fm-rest-api.stable_docker_image index 7a41410e..5c2c3c03 100644 --- a/fm-rest-api/centos/stx-fm-rest-api.stable_docker_image +++ b/fm-rest-api/centos/stx-fm-rest-api.stable_docker_image @@ -23,3 +23,4 @@ PIP_PACKAGES=" pecan \ tsconfig \ WSME" +PYTHON3=no