[OE-core] [PATCH 1/3] ca-certificates: use host Python 3 instead of Python 2

Ross Burton ross.burton at intel.com
Wed Aug 2 14:53:06 UTC 2017


Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 .../ca-certificates/ca-certificates/use-py3.patch            | 12 ++++++++++++
 .../ca-certificates/ca-certificates_20161130.bb              |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-support/ca-certificates/ca-certificates/use-py3.patch

diff --git a/meta/recipes-support/ca-certificates/ca-certificates/use-py3.patch b/meta/recipes-support/ca-certificates/ca-certificates/use-py3.patch
new file mode 100644
index 00000000000..4a09dfde4df
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/use-py3.patch
@@ -0,0 +1,12 @@
+Use the host Python 3 instead of Python 2.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton <ross.burton at intel.com>
+
+diff --git a/mozilla/Makefile b/mozilla/Makefile
+index 6f46118..f98877c 100644
+--- a/mozilla/Makefile
++++ b/mozilla/Makefile
+@@ -6 +6 @@ all:
+-	python certdata2pem.py
++	python3 certdata2pem.py
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb b/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb
index 42088b98994..c976e689d98 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb
@@ -20,7 +20,8 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ca-certificates.git \
            file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch \
            file://update-ca-certificates-support-Toybox.patch \
            file://default-sysroot.patch \
-           file://sbindir.patch"
+           file://sbindir.patch \
+           file://use-py3.patch"
 
 S = "${WORKDIR}/git"
 
-- 
2.11.0



More information about the Openembedded-core mailing list