diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-03-11 15:25:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 22:49:28 +0000 |
commit | 79870c4d75bcce40fb1e89fa055d49d43fb79e88 (patch) | |
tree | ef0596a6d86c735a60916d4c40aa5602dc4423bb /meta/recipes-devtools | |
parent | 10847a403058bebcdb8ed50e954c39066b08a0e8 (diff) | |
download | poky-79870c4d75bcce40fb1e89fa055d49d43fb79e88.tar.gz |
dnf: fix reproducibilty issue
Script points to native python3
(From OE-Core rev: 132c7ecd13955b20141fa01241f47753af60cb77)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch | 24 | ||||
-rw-r--r-- | meta/recipes-devtools/dnf/dnf_4.2.2.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch b/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch new file mode 100644 index 0000000000..448f6408bc --- /dev/null +++ b/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 7e79b3b67fd5cecd7380e7e365fd88eca63b5bfa Mon Sep 17 00:00:00 2001 | ||
2 | From: Jeremy Puhlman <jpuhlman@mvista.com> | ||
3 | Date: Wed, 11 Mar 2020 22:10:02 +0000 | ||
4 | Subject: [PATCH] set python path for completion_helper | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> | ||
8 | --- | ||
9 | dnf/cli/completion_helper.py.in | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/dnf/cli/completion_helper.py.in b/dnf/cli/completion_helper.py.in | ||
13 | index 351226759..2835cd3b6 100644 | ||
14 | --- a/dnf/cli/completion_helper.py.in | ||
15 | +++ b/dnf/cli/completion_helper.py.in | ||
16 | @@ -1,4 +1,4 @@ | ||
17 | -#!@PYTHON_EXECUTABLE@ | ||
18 | +#!/usr/bin/env python3 | ||
19 | # | ||
20 | # This file is part of dnf. | ||
21 | # | ||
22 | -- | ||
23 | 2.23.0 | ||
24 | |||
diff --git a/meta/recipes-devtools/dnf/dnf_4.2.2.bb b/meta/recipes-devtools/dnf/dnf_4.2.2.bb index 5244e10cfc..a046ffc05d 100644 --- a/meta/recipes-devtools/dnf/dnf_4.2.2.bb +++ b/meta/recipes-devtools/dnf/dnf_4.2.2.bb | |||
@@ -14,6 +14,7 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git \ | |||
14 | file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ | 14 | file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
15 | file://0030-Run-python-scripts-using-env.patch \ | 15 | file://0030-Run-python-scripts-using-env.patch \ |
16 | file://Fix-SyntaxWarning.patch \ | 16 | file://Fix-SyntaxWarning.patch \ |
17 | file://0001-set-python-path-for-completion_helper.patch \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | SRCREV = "9947306a55271b8b7c9e2b6e3b7d582885b6045d" | 20 | SRCREV = "9947306a55271b8b7c9e2b6e3b7d582885b6045d" |