From b0b7aa09e307af9678a94bdf27a310a326b9034b Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Tue, 15 Jun 2021 15:02:11 +0200 Subject: [tmp] allow python2 support for element-vcpe Temporary solution until we upgrade vcpe to python3 and remove python2 support! python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes" Change-Id: If20d79fb4051633a941c368f71443ae9bf10ad6a Signed-off-by: Adrian Calianu --- conf/template.atom-c3000-debug/local.conf.sample | 3 +++ conf/template.atom-c3000/local.conf.sample | 3 +++ conf/template.xeon-d-debug/local.conf.sample | 3 +++ conf/template.xeon-d/local.conf.sample | 3 +++ 4 files changed, 12 insertions(+) diff --git a/conf/template.atom-c3000-debug/local.conf.sample b/conf/template.atom-c3000-debug/local.conf.sample index b96bf48..b5e3f8c 100644 --- a/conf/template.atom-c3000-debug/local.conf.sample +++ b/conf/template.atom-c3000-debug/local.conf.sample @@ -267,3 +267,6 @@ USERADD_GID_TABLES = "files/group" # Unfortunately, setting the variable below breaks the build, so do not set it # for now # USERADD_ERROR_DYNAMIC = "1" + +# to be removed together with python2 layer +I_SWEAR_TO_MIGRATE_TO_PYTHON3 = "yes" diff --git a/conf/template.atom-c3000/local.conf.sample b/conf/template.atom-c3000/local.conf.sample index c6cbdba..558e110 100644 --- a/conf/template.atom-c3000/local.conf.sample +++ b/conf/template.atom-c3000/local.conf.sample @@ -264,3 +264,6 @@ USERADD_GID_TABLES = "files/group" # Unfortunately, setting the variable below breaks the build, so do not set it # for now # USERADD_ERROR_DYNAMIC = "1" + +# to be removed together with python2 layer +I_SWEAR_TO_MIGRATE_TO_PYTHON3 = "yes" diff --git a/conf/template.xeon-d-debug/local.conf.sample b/conf/template.xeon-d-debug/local.conf.sample index 4be1706..e80ee61 100644 --- a/conf/template.xeon-d-debug/local.conf.sample +++ b/conf/template.xeon-d-debug/local.conf.sample @@ -268,3 +268,6 @@ USERADD_GID_TABLES = "files/group" # Unfortunately, setting the variable below breaks the build, so do not set it # for now # USERADD_ERROR_DYNAMIC = "1" + +# to be removed together with python2 layer +I_SWEAR_TO_MIGRATE_TO_PYTHON3 = "yes" diff --git a/conf/template.xeon-d/local.conf.sample b/conf/template.xeon-d/local.conf.sample index a1a874d..2b10f27 100644 --- a/conf/template.xeon-d/local.conf.sample +++ b/conf/template.xeon-d/local.conf.sample @@ -265,3 +265,6 @@ USERADD_GID_TABLES = "files/group" # Unfortunately, setting the variable below breaks the build, so do not set it # for now # USERADD_ERROR_DYNAMIC = "1" + +# to be removed together with python2 layer +I_SWEAR_TO_MIGRATE_TO_PYTHON3 = "yes" -- cgit v1.2.3-54-g00ecf