summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.12.bb
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2017-02-08 00:48:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:41 -0800
commit4dfa203a65598b4aeea8b308b598d2edce6eef30 (patch)
tree88613fe5c801976f1c91ab88e3d0050b20d83781 /meta/recipes-devtools/python/python_2.7.12.bb
parent5ca7184552b35a80a0d78f06e2264502144c1faf (diff)
downloadpoky-4dfa203a65598b4aeea8b308b598d2edce6eef30.tar.gz
python: Don't use getentropy on Linux
Backport a patch from 2.7 branch to fix a regression with glibc 2.24 causing "OSError: [Errno 38] Function not implemented" when calling urandom() with older kernels. (From OE-Core rev: 3f2be1c857a44030478ce25b4a722667b73de446) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.12.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.12.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.12.bb b/meta/recipes-devtools/python/python_2.7.12.bb
index 9fe35db2de..2c6a3194a2 100644
--- a/meta/recipes-devtools/python/python_2.7.12.bb
+++ b/meta/recipes-devtools/python/python_2.7.12.bb
@@ -27,6 +27,7 @@ SRC_URI += "\
27 file://use_sysroot_ncurses_instead_of_host.patch \ 27 file://use_sysroot_ncurses_instead_of_host.patch \
28 file://add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch \ 28 file://add-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch \
29 file://python-fix-CVE-2016-1000110.patch \ 29 file://python-fix-CVE-2016-1000110.patch \
30 file://Don-t-use-getentropy-on-Linux.patch \
30" 31"
31 32
32S = "${WORKDIR}/Python-${PV}" 33S = "${WORKDIR}/Python-${PV}"