aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2017-08-21 02:00:37 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-28 11:06:02 +0200
commit24d91883bb2df002a8b5a9954811237b5abb7e3f (patch)
tree43c41dc55f02e5d3e1eb181a58bce4944ee296ad /meta-python
parent8d8a5e6be8deb963adcd3e7c3aa10ebc68d23a86 (diff)
downloadmeta-openembedded-contrib-24d91883bb2df002a8b5a9954811237b5abb7e3f.tar.gz
meta-openembedded-contrib-24d91883bb2df002a8b5a9954811237b5abb7e3f.tar.bz2
meta-openembedded-contrib-24d91883bb2df002a8b5a9954811237b5abb7e3f.zip
python3-pykickstart: tweak shebang to python3
Fix the following file-rdeps QA issue: ... |ERROR: python3-pykickstart-2.35-r0 do_package_qa: QA Issue: /usr/bin/ksvalidator contained in package python3-pykickstart requires /usr/bin/python, but no providers found in RDEPENDS_python3-pykickstart? [file-rdeps] ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch25
-rw-r--r--meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch b/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
new file mode 100644
index 0000000000..3d614955b2
--- /dev/null
+++ b/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
@@ -0,0 +1,25 @@
+From 8a1f598223bd4cbcc877eb2aba3f5586c75c9d14 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Mon, 21 Aug 2017 10:05:06 +0800
+Subject: [PATCH] tweak shebang to python3
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ tools/ksvalidator.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/ksvalidator.py b/tools/ksvalidator.py
+index d6051d5..c3682e8 100755
+--- a/tools/ksvalidator.py
++++ b/tools/ksvalidator.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # Chris Lumens <clumens@redhat.com>
+ #
+--
+1.8.3.1
+
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
index fd5513f5cc..7fe603b555 100644
--- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
+++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
@@ -17,6 +17,7 @@ SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=py
file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \
file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \
file://0004-load.py-retry-to-invoke-request-with-timeout.patch \
+ file://0005-tweak-shebang-to-python3.patch \
"
SRCREV = "b2787a818540e678c2f9c5dca0c6bbd65b8b55e5"