diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch')
-rw-r--r-- | meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch new file mode 100644 index 0000000000..0583df95ad --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From e5580e392b8764e1e6509c5a4ed13fb2ce7566b9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | ||
3 | Date: Mon, 27 Jan 2020 17:27:55 +0000 | ||
4 | Subject: [PATCH] huge_page_setup_helper: use python3 interpreter | ||
5 | |||
6 | Setup helper script is already prepared to be used with python3, use the | ||
7 | interpreter explicitly. This removes dependency to python2 and will not | ||
8 | fail the QA check. | ||
9 | |||
10 | Upstream-Status: Inappropriate [OE-specific] | ||
11 | |||
12 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | ||
13 | --- | ||
14 | huge_page_setup_helper.py | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py | ||
18 | index 01fc8dc..79a88ca 100755 | ||
19 | --- a/huge_page_setup_helper.py | ||
20 | +++ b/huge_page_setup_helper.py | ||
21 | @@ -1,4 +1,4 @@ | ||
22 | -#!/usr/bin/python | ||
23 | +#!/usr/bin/env python3 | ||
24 | |||
25 | # | ||
26 | # Tool to set up Linux large page support with minimal effort | ||
27 | -- | ||
28 | 2.25.1 | ||
29 | |||