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

Message ID 20170802145308.19074-1-ross.burton@intel.com
State New
Headers show
Series
  • [1/3] ca-certificates: use host Python 3 instead of Python 2
Related show

Commit Message

Burton, Ross Aug. 2, 2017, 2:53 p.m.
Signed-off-by: Ross Burton <ross.burton@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

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

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@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"