summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-03-27 16:19:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-28 08:43:13 +0100
commit8c1c392ca34da1c64336d0aa2d0a26b9c23d8d39 (patch)
tree37f509b2269d4a37cebcde905b84ec2e52c61d18 /meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
parent3d29214b20433a506a3d59cdc08fc1a9be09a5a0 (diff)
downloadpoky-8c1c392ca34da1c64336d0aa2d0a26b9c23d8d39.tar.gz
dnf: move the entire dnf/rpm4 stack to Python 3
[YOCTO #11180] (From OE-Core rev: bedcdc4cf921b70a8cfb16c6684668d0ac9e1942) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch')
-rw-r--r--meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch b/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
index 7fc8afef53..61328e6ec5 100644
--- a/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
+++ b/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
@@ -19,7 +19,7 @@ index 5b06aa26..9f6f703e 100755
19+++ b/bin/dnf-automatic.in 19+++ b/bin/dnf-automatic.in
20@@ -1,4 +1,4 @@ 20@@ -1,4 +1,4 @@
21-#!@PYTHON_EXECUTABLE@ 21-#!@PYTHON_EXECUTABLE@
22+#!/usr/bin/env python 22+#!/usr/bin/env python3
23 # dnf-automatic executable. 23 # dnf-automatic executable.
24 # 24 #
25 # Copyright (C) 2014-2016 Red Hat, Inc. 25 # Copyright (C) 2014-2016 Red Hat, Inc.
@@ -29,7 +29,7 @@ index 645d0f06..ab141abd 100755
29+++ b/bin/dnf.in 29+++ b/bin/dnf.in
30@@ -1,4 +1,4 @@ 30@@ -1,4 +1,4 @@
31-#!@PYTHON_EXECUTABLE@ 31-#!@PYTHON_EXECUTABLE@
32+#!/usr/bin/env python 32+#!/usr/bin/env python3
33 # The dnf executable script. 33 # The dnf executable script.
34 # 34 #
35 # Copyright (C) 2012-2016 Red Hat, Inc. 35 # Copyright (C) 2012-2016 Red Hat, Inc.
@@ -39,7 +39,7 @@ index f1fee071..013dc8c5 100755
39+++ b/bin/yum.in 39+++ b/bin/yum.in
40@@ -1,4 +1,4 @@ 40@@ -1,4 +1,4 @@
41-#!@PYTHON_EXECUTABLE@ 41-#!@PYTHON_EXECUTABLE@
42+#!/usr/bin/env python 42+#!/usr/bin/env python3
43 # The dnf executable script. 43 # The dnf executable script.
44 # 44 #
45 # Copyright (C) 2016 Red Hat, Inc. 45 # Copyright (C) 2016 Red Hat, Inc.