summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch
diff options
context:
space:
mode:
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.patch29
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 @@
1From e5580e392b8764e1e6509c5a4ed13fb2ce7566b9 Mon Sep 17 00:00:00 2001
2From: Andrey Zhizhikin <andrey.z@gmail.com>
3Date: Mon, 27 Jan 2020 17:27:55 +0000
4Subject: [PATCH] huge_page_setup_helper: use python3 interpreter
5
6Setup helper script is already prepared to be used with python3, use the
7interpreter explicitly. This removes dependency to python2 and will not
8fail the QA check.
9
10Upstream-Status: Inappropriate [OE-specific]
11
12Signed-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
17diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py
18index 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--
282.25.1
29