summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-03-08 06:37:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-09 14:43:12 +0000
commit5220a105a74780a5c5a7d1cc6d1ab71e18d2e565 (patch)
tree943bce925c3f8d15989ef524724b7457db10b22c /meta
parent47b19896708f9f5b1f16f12769b6c39c207388c9 (diff)
downloadpoky-5220a105a74780a5c5a7d1cc6d1ab71e18d2e565.tar.gz
python: time.tzset missing
import time time.tzset() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'time' has no attribute 'tzset' enable tzset in both python versions (From OE-Core rev: 28e631d6dbc0a126253c0a072b8f39ff683bfa3a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python3_3.7.2.bb1
-rw-r--r--meta/recipes-devtools/python/python_2.7.15.bb2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.2.bb b/meta/recipes-devtools/python/python3_3.7.2.bb
index 9626ee546b..4d10986f3b 100644
--- a/meta/recipes-devtools/python/python3_3.7.2.bb
+++ b/meta/recipes-devtools/python/python3_3.7.2.bb
@@ -65,6 +65,7 @@ EXTRANATIVEPATH += "python3-native"
65CACHED_CONFIGUREVARS = " \ 65CACHED_CONFIGUREVARS = " \
66 ac_cv_file__dev_ptmx=yes \ 66 ac_cv_file__dev_ptmx=yes \
67 ac_cv_file__dev_ptc=no \ 67 ac_cv_file__dev_ptc=no \
68 ac_cv_working_tzset=yes \
68" 69"
69 70
70PACKAGECONFIG_class-target ??= "readline ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'pgo', '', d)}" 71PACKAGECONFIG_class-target ??= "readline ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'pgo', '', d)}"
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb
index 8df1dfd1ba..3e1af4baf6 100644
--- a/meta/recipes-devtools/python/python_2.7.15.bb
+++ b/meta/recipes-devtools/python/python_2.7.15.bb
@@ -42,7 +42,7 @@ inherit autotools multilib_header python-dir pythonnative ptest
42 42
43CONFIGUREOPTS += " --with-system-ffi " 43CONFIGUREOPTS += " --with-system-ffi "
44 44
45EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no" 45EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes"
46 46
47PACKAGECONFIG ??= "bdb" 47PACKAGECONFIG ??= "bdb"
48PACKAGECONFIG[bdb] = ",,db" 48PACKAGECONFIG[bdb] = ",,db"