diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch')
| -rw-r--r-- | meta-oe/recipes-benchmark/libhugetlbfs/files/0001-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/0001-huge_page_setup_helper-use-python3-interpreter.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch new file mode 100644 index 0000000000..e45f283b38 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From b77c61de4d88d2c6e5d31f4f5a5877cc4c61272e 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 a9ba2bf..7ba0c92 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.17.1 | ||
| 29 | |||
